3 ms·
> can avoid writing to dead objects, can put any state needed for garbage collection in a contiguous space, and can run “all at once” You can use arena allocat
by zozbot234 6y ago
> can avoid writing to dead objects, can put any state needed for garbage collection in a contiguous space, and can run “all at once”
You can use arena allocation when these issues are relevant (which is not that often). Generally speakingm while obligate RC (particularly ARC) is indeed lower-throughput than obligate tracing GC, Rust does not really use obligate RC.