Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Chrome 97
Fedora
Desktop
2 years ago
Test name Executions per second
subarray direct 4815364.5 Ops/sec
slice direct 4206146.0 Ops/sec
subarray copy 1763294.8 Ops/sec
slice copy 1685645.1 Ops/sec
subarray set 1869470.6 Ops/sec
slice set 1760308.8 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set