lua-users home
lua-l archive

Re: Preventing garbage collection of entities

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


Ah, I see - it’s to exclude them from the mark and sweep. Have you tried doing it from C to see what the savings would be in a true use-case?
Have a bit trouble seeing how that would work, as the dependencies still would need to be marked? Or should those be made non-GC on assignment? That could get tricky if multiple entities can reference them?

AltStyle によって変換されたページ (->オリジナル) /