Ternary with true condition vs Ternary with false condition vs && with true condition vs && with false condition| Test case name | Result |
|---|---|
| Ternary with true condition | |
| Ternary with false condition | |
| && with true condition | |
| && with false condition |
| Test name | Executions per second |
|---|---|
| ✓ && with false condition | 23,103,980 Ops/sec |
| Ternary with false condition | 23,060,302 Ops/sec |
| && with true condition | 23,032,526 Ops/sec |
| Ternary with true condition | 22,910,836 Ops/sec |