flatMap vs reduceFastest: flatMap (68.3x faster)
2,090 ops/sec
31 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| flatMap | |
| reduce |
| Test name | Executions per second |
|---|---|
| ✓ flatMap | 1,972 Ops/sec |
| reduce | 15 Ops/sec |