Re:DELETEs Are Difficult
by tybit on Sunday December 01, 2024 @06:17AM
(#42287767)
Runtimes with garbage collectors typically optimize for allocation, not deletion.
[ Parent
| on HN ]
Re:DELETEs Are Difficult
by mike_hearn on Sunday December 01, 2024 @12:04PM
(#42289366)
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.