Set vs ArrayFastest: Set (1.2x faster)
4,020,980 ops/sec
3,435,513 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Set | |
| Array |
| Test name | Executions per second |
|---|---|
| ✓ Array | 5,561,220 Ops/sec |
| Set | 4,668,410 Ops/sec |