3 ms·
I don't know much about language internals or allocation but am learning. why this could be significantly faster than a bump/arena allocator? And is the speed
by runlaszlorun 1y ago
I don't know much about language internals or allocation but am learning. why this could be significantly faster than a bump/arena allocator?
And is the speed up over malloc/free due to large block allocation as opposed to individual malloc?
- kragen 1y agoIt is a bump allocator. I don't know why it's so much faster than mine, but my hypothesis was that CF Bolz was testing on a faster machine. The speedup over malloc/free is because bumping a pointer is much faster than calling a subroutine.