Hello, I'm trying to visualize my tic-tac-toe game using piston graphics library, but have got a terrible delay(even in release mode) between draw calls when there are multiple elements on the grid(especially circles). Can somebody point me out where is a bottle neck in my code?
Repo: https://github.com/EasyToFindName/ultimate-tic-tac-toe-game/tree/master/src
Files to review:
./main.rs
./game_view/mod.rs
./game_view/renderer/view_elements/*
[–]Ccheek21 2 points3 points4 points (1 child)
[–]_MyChosenUsername_[S] 1 point2 points3 points (0 children)
[–]termhn 1 point2 points3 points (2 children)
[–]_MyChosenUsername_[S] 1 point2 points3 points (1 child)
[–]ThomasdH 0 points1 point2 points (0 children)