Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Linux
Desktop
3 years ago
Test name Executions per second
subarray direct 6917265.5 Ops/sec
slice direct 10233213.0 Ops/sec
subarray copy 3505835.5 Ops/sec
slice copy 3319790.2 Ops/sec
subarray set 4250740.5 Ops/sec
slice set 5921896.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set