Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc performance improvements (some inspired by http://wiki.luajit.org/Numerical-Computing-Performance-Guide) Major one is diffing the window configs before updating to avoid unnecessary rendering. Also switched to mutating existing state in spring rather than creating a new table which reduces number of allocations (one per field window per draw). Should help #63 and potentially #72
- Loading branch information
Showing
3 changed files
with
86 additions
and
130 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