3 ms·
The V8 blog is a good starting point for learning how it works under the hood: https://v8.dev/blog/fast-properties https://v8.dev/blog/fast-properties
by bouk 5y ago
The V8 blog is a good starting point for learning how it works under the hood: https://v8.dev/blog/fast-properties https://v8.dev/blog/fast-properties
- vlovich123 5y agoHmm... I would have thought they implemented something similar to a std::deque so that you have ammortized O(1) insertions into the middle of a vector.