(Replying to PARENT post)
I remember the oddly named System.pauseForGCIfCollectionImminent() AS3 (Flash) function:
https://help.adobe.com/en_US/FlashPlatform/reference/actions...
๐คmarkdog12๐6y๐ผ0๐จ๏ธ0
(Replying to PARENT post)
You can manually trigger GC in Lua. Iโve used this to trigger light GC work every frame in some games to buy more consistent GC times (no spikes) at the cost of higher average times.
๐คcorysama๐6y๐ผ0๐จ๏ธ0
(Replying to PARENT post)
So I'd think a GC designed for a gaming system would take this into account; incremental concurrent GC that can be timed to happen at the start of each each frame interval and be paused if it gets close to the end.