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
--[[ | |
"semi-manual" garbage collection | |
specify a time budget and a memory ceiling per call. | |
called once per frame, this will spread any big collections | |
over a couple of frames, and "catch up" when there is. This | |
keeps GC burden much more predictable. | |
The memory ceiling provides some level of "relief valve" - if |
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
--sort core | |
-- | |
-- stable sorting routines for lua | |
-- | |
--based on MIT licensed code from Dirk Laurie and Steve Fisher | |
--license as follows: | |
--[[ | |
Copyright © 2013 Dirk Laurie and Steve Fisher. |
NewerOlder