Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Linux
Desktop
4 years ago
Test name Executions per second
subarray direct 3656909.8 Ops/sec
slice direct 6915467.0 Ops/sec
subarray copy 2048737.1 Ops/sec
slice copy 2826041.8 Ops/sec
subarray set 2831458.8 Ops/sec
slice set 4561830.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set