Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Mobile DuckDuckGo/5 Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
immutable with concat 3325616.8 Ops/sec
direct mutation with splice + spread 3708906.8 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread