Re:Why use garbage collection
by newt0311 on Friday January 23, 2009 @04:09AM
(#446185)
Actually, general malloc performance is horrible and that refcounting implimentation will be the absolute worst. In an accurate GC, the objects can be moved around in memory for more efficient allocation. Add support for generations and it becomes significantly faster than manual allocation. However, refcounting misses all of that and screws up on circular referrences to boot.
[ Parent
| on HN ]
"Actually," normally starts a disagreement, but AFAICT, you restated what I said and agree. Or do I misunderstand?