3 ms·
I think inefficiencies in these languages come more from garbage collection languages. Allocation is faster since it is optimized with the knowledge that alloca
by jstimpfle 6y ago
I think inefficiencies in these languages come more from garbage collection languages. Allocation is faster since it is optimized with the knowledge that allocations will be GC'ed, and static analysis can help a lot for the short term stuff. Memory can be allocated with linear allocators inside arenas for short term memory, and be moved to longer term arenas when it lives longer. Stuff like that.