Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100
Ubuntu
Desktop
2 years ago
Test name Executions per second
subarray direct 4042261.2 Ops/sec
slice direct 6704713.5 Ops/sec
subarray copy 2103896.8 Ops/sec
slice copy 2760969.2 Ops/sec
subarray set 2990988.2 Ops/sec
slice set 4362361.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set