3 ms·
FWIW I did acknowledge this in the article: > A sufficiently smart memory allocator might achieve the same thing, especially if you allocate the whole AST up f
by samps 2y ago
FWIW I did acknowledge this in the article:
> A sufficiently smart memory allocator might achieve the same thing, especially if you allocate the whole AST up front and never add to it
> Again, a really fast malloc might be hard to compete with—but you basically can’t beat bump allocation on sheer simplicity.