-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to reduce resource usage and GC calls
Only run fixposition every 5 "ticks", and only actually update the position if it is different Use a class-defined Bgr to clear the image instead of creating one every loop Only reset the stopwatch if it is being used Clear the list of rectangles instead of creating a new instance
- Loading branch information
Sean
committed
Jun 10, 2016
1 parent
7eebc9c
commit 60b08ce
Showing
3 changed files
with
52 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters