3 ms·
I guess that the reason that existing systems do not use advanced refcount modes is that they simply that either they are not meant for high performance (e.g. p
by gpderetta 10y ago
I guess that the reason that existing systems do not use advanced refcount modes is that they simply that either they are not meant for high performance (e.g. python, perl) or just don't do much refcount traffic (i.e. only long lived objects are refcounted and new references are not created often).
Re alloc and free, I meant that you do not need to use the system malloc and free, you can be allocating and deallocating from a simple thread local bump allocator plus free list.
At the limit you can have a fully generational GC behind and use the rerfcount only to decide when to run destructors or as an optimization.