2 ms·
It COULD be written to be infinitely scalable in size (up to allowed memory) but that comes with a speed cost. I remember something about NSArray switching its
by xsmasher 5y ago
It COULD be written to be infinitely scalable in size (up to allowed memory) but that comes with a speed cost.
I remember something about NSArray switching its layout (and speed characteristics) after adding certain number of items, but I can't find a reference now.
- kccqzy 5y agohttps://ridiculousfish.com/blog/posts/array.html https://ridiculousfish.com/blog/posts/array.html