Re:The Garbage Collection Handbook, 2nd Edition
by throwaway81523 on Saturday April 08, 2023 @08:59PM
(#35499185)
The conventional wisdom is that evacuating (copying) GC's win over malloc/free since 1) the GC touches only the live data and not the garbage, and 2) it compacts the active memory periodically, which improves its cache and (when relevant) paging hit rates.
Obviously though, this will be situation dependent.
Obviously though, this will be situation dependent.