Some (Non-Existing Value) vs Every (Non-Existing Value) vs Some (Existing Value) vs Every (Existing Value)31,556,498 ops/sec
31,536,070 ops/sec
30,051,158 ops/sec
30,003,636 ops/sec
Fastest: Some (Non-Existing Value) (2.3x faster)
48,943,168 ops/sec
44,583,328 ops/sec
21,594,172 ops/sec
21,301,772 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Some (Non-Existing Value) | |
| Every (Non-Existing Value) | |
| Some (Existing Value) | |
| Every (Existing Value) |
| Test name | Executions per second |
|---|---|
| ✓ Some (Existing Value) | 115,982,672 Ops/sec |
| Every (Existing Value) | 111,657,912 Ops/sec |
| Every (Non-Existing Value) | 82,778,312 Ops/sec |
| Some (Non-Existing Value) | 78,777,192 Ops/sec |