from vs fill vs spreadFastest: fill (9.8x faster)
745 ops/sec
670 ops/sec
76 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| from | |
| fill | |
| spread |
| Test name | Executions per second |
|---|---|
| ✓ fill | 1,176 Ops/sec |
| spread | 1,008 Ops/sec |
| from | 98 Ops/sec |