Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Windows 7
Desktop
4 years ago
Test name Executions per second
immutable with concat 2071179.5 Ops/sec
direct mutation with splice + spread 817056.1 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread