top | item 42287767

(no title)

tybit | 1 year ago

Runtimes with garbage collectors typically optimize for allocation, not deletion.

discuss

order

mike_hearn|1 year ago

Generational GC optimizes for both. They assume that most objects die young, so choose to relocate live objects and just mark the entire region that was evacuated as empty. So this is a very efficient way to delete data.