current xor implementation vs alternative with SetsFastest: alternative with Sets (4.6x faster)
9,325 ops/sec
2,016 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| current xor implementation | |
| alternative with Sets |
| Test name | Executions per second |
|---|---|
| ✓ alternative with Sets | 6,459 Ops/sec |
| current xor implementation | 1,054 Ops/sec |