lua-users home
lua-l archive

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


> Another dimension in this is the present of static objects. When we where
> running all functions and a lot of global variables would not be touched -
> So some sort of "disregards from GC" scope could be very interesting,

This is exactly what a generational collector does: it disregards "old"
objects (where "old" means the object has been alive and has not
been modified for a while).

(Actually, that definition of "old" is a simplification, but that also
simplifies the implementation of the algorithm.)

-- Roberto