2 ms·
I'm skeptical. Incremental cycle collection is quite hard, and you lose the benefits of cycle collection (only tracing suspected-dead objects) when you move to
by pcwalton 15y ago
I'm skeptical. Incremental cycle collection is quite hard, and you lose the benefits of cycle collection (only tracing suspected-dead objects) when you move to tracing garbage collection as a backup for reference counting.
For mobile I would just use an incremental garbage collector with heavy usage of stack allocation and interior objects. Or use a reference-counted system and disable the GC entirely (leaking cycles).
- stcredzero 15y agoIncremental cycle collection is quite hard Incremental GC has been done. It wouldn't be super efficient, which is why one would encourage the pros to use weak references.