Test case name | Result |
---|---|
Reverse array comparison (short) | |
For loop early exit (short) | |
Reverse array comparison (long) | |
For loop early exit (long) | |
Smallest solution (short) | |
Smallest solution (long) |
Test name | Executions per second |
---|---|
Reverse array comparison (short) | 41767.4 Ops/sec |
For loop early exit (short) | 47084.6 Ops/sec |
Reverse array comparison (long) | 75462.4 Ops/sec |
For loop early exit (long) | 89476.1 Ops/sec |
Smallest solution (short) | 42897.4 Ops/sec |
Smallest solution (long) | 83139.5 Ops/sec |