From: Timothy Goddard Date: 2006-01-25T00:45:41+09:00 Subject: Re: Minimizing memory allocations I don't know anything about Lua, but Ruby is unlikely to see and speed benefits from garbage collecting every frame unless you're deep in swap. Ruby uses a "mark and sweep" garbage collection scheme, which I believe means that garbage collecting time is mostly proportional to the number of current, referenced objects, not the amount of junk left behind.