Run details:
Mozilla/5.0 (Linux; Android 10; SM-N960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
immutable with concat 1884473.9 Ops/sec
direct mutation with splice + spread 2796697.5 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread