immutable with concat vs direct mutation with splice + spread vs direct mutation with push + spread| Test case name | Result |
|---|---|
| immutable with concat | |
| direct mutation with splice + spread | |
| direct mutation with push + spread |
| Test name | Executions per second |
|---|---|
| ✓ direct mutation with push + spread | 12,627,940 Ops/sec |
| immutable with concat | 7,204,691 Ops/sec |
| direct mutation with splice + spread | 6,363,303 Ops/sec |