Fastest: for loop pre-allocate cached length (3.4x faster)
263,019 ops/sec
209,618 ops/sec
184,689 ops/sec
83,830 ops/sec
80,834 ops/sec
78,247 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.