lua-users home
lua-l archive

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

I would think that doing reference counting to catch the easy cases would
solve most of the problem. It?s not like ref counting ever gives you any
false positives (objects that should not be collected). If you used ref
counting to amortize the cost of freeing the simple garbage, the additional
overhead of mark-and-sweep would only be high in cases where you have lots
of circular data structures. Anyone in that category?