4 ms·
2 might sound overly optimistic like "Rust will eventually beat C" but V8 already has an allocation folding optimization which combines multiple objects into a
by jashmatthews 7y ago
2 might sound overly optimistic like "Rust will eventually beat C" but V8 already has an allocation folding optimization which combines multiple objects into a single site. There's also run time profiling to try and figure out the allocation lifetime.
https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/42478.pdf https://static.googleusercontent.com/media/research.google.c...
and
https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43823.pdf https://static.googleusercontent.com/media/research.google.c...