4 ms·
> Note: our garbage collector optimizations are still in progress, so this section doesn’t document them. It will be interesting to see whether they make any m
by pansa2 6y ago
> Note: our garbage collector optimizations are still in progress, so this section doesn’t document them.
It will be interesting to see whether they make any major changes to Lua's garbage collector, which is an incremental tracing GC.
Several gaming-focused scripting languages use reference counting instead of tracing GC, even though throughput is lower. This is because RC (almost?) eliminates the need for stop-the-world pauses, making it easier to maintain a consistent frame rate.