[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Do strings move around?
- From: Viacheslav Usov <via.usov@...>
- Date: Wed, 26 Aug 2020 20:14:41 +0200
On Wed, Aug 26, 2020 at 7:55 PM Roberto Ierusalimschy
> They won't.
If Lua's GC becomes so sophisticated that object moves become a
reality, it will make sense to add a third type of user data: movable
And speaking of sophisticated GC, I'd like to mention some recent work
in this area, the RC Immix memory allocator, which is based on
reference counting, and which its authors believed outperformed its
contemporary state-of-the art tracing/generational collectors .
Being RC-based, it might be a better answer to deterministic
finalization than to-be-closed variables.