3 ms·
> Scanning the working set is still cheaper than tracking all references constantly. that is why you need to be careful not to needlessly update your reference
by bluGill 3y ago
> Scanning the working set is still cheaper than tracking all references constantly.
that is why you need to be careful not to needlessly update your reference count for temporaries. managing memory is not free. generational garbage collection avoids a lot of thought but it demands more memory.
- pron 3y agoYes. As I said repeatedly, the one thing that tracing sacrifices is memory footprint. It effectively turns RAM into performance. If you want a smaller footprint you either have to sacrifice performance or pay with more development effort.