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 1216780.0 Ops/sec
direct mutation with splice + spread 1633604.8 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread