2 ms·
You're more likely to have the next object cached by the time you access it compared to separate allocations. The more sequential the access pattern is and the
by codr7 6y ago
You're more likely to have the next object cached by the time you access it compared to separate allocations.
The more sequential the access pattern is and the smaller the objects are, the greater benefit.