Test case name | Result |
---|---|
With inline statements | |
With min() and max() | |
With if statements | |
With ternary operator #1 | |
With ternary operator #2 |
Test name | Executions per second |
---|---|
With inline statements | 172970500.0 Ops/sec |
With min() and max() | 8739488.0 Ops/sec |
With if statements | 179138600.0 Ops/sec |
With ternary operator #1 | 175599900.0 Ops/sec |
With ternary operator #2 | 172339300.0 Ops/sec |