3 ms·
It's the appropriate first choice. If things are slow, instrument and investigate. Only bother fiddling with Array.length if profiling with production workloa
by patsplat 7y ago
It's the appropriate first choice.
If things are slow, instrument and investigate. Only bother fiddling with Array.length if profiling with production workloads exposes that as the bottleneck. More likely the problem will be elsewhere.