[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No gc



As straz points out, the only way to guarantee no gc is to not
allocate memory. However, there are occasions when one wants to
allocate space without the ephemeral gc engaged, for instance when you
are allocating lots of space which you know will be long-lived, and
little that is short-lived. In this case, the ephemeral gc actually
wastes time.  Ephemeral collection it turned on and off using the
function (egc state), where state is either nil to disable egc, or
non-nil to enable it.

-alan