..... as inspired by how gc is exactly done in Lua, perhaps?  :)

Regards,

Bill
===========================================================================
TAKAHASHI Masayoshi <maki / rubycolor.org> wrote:
> Akira Tanaka suggested that GC should be triggered when
> the amount of the allocated memory is more than two times
> of the memory which used by live objects.

> Nobuyoshi Nakada made a patch ([ruby-dev:18487]) and commited
> it.