Test case name | Result |
---|---|
reduce with spread | |
reduce with assign | |
reduce with mapped assign | |
reduce with mapped assign (compact) | |
reduce with mapped assign (if-else) |
Test name | Executions per second |
---|---|
reduce with spread | 1533504.0 Ops/sec |
reduce with assign | 8200524.0 Ops/sec |
reduce with mapped assign | 15384810.0 Ops/sec |
reduce with mapped assign (compact) | 6749742.0 Ops/sec |
reduce with mapped assign (if-else) | 15363900.0 Ops/sec |