array vs setFastest: array (14.7x faster)
78,472,008 ops/sec
5,344,534 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| array | |
| set |
| Test name | Executions per second |
|---|---|
| ✓ array | 128,832,632 Ops/sec |
| set | 9,381,509 Ops/sec |