Fastest: recursive for-loop (29.7x faster)
13,740,472 ops/sec
462,941 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.