Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Mac OS X 10.13
Desktop
6 years ago
Test name Executions per second
non tail-end recursion (descending) 577071.4 Ops/sec
tail-end recursion (ascending) 3395796.8 Ops/sec
iterative (descending) 3963818.0 Ops/sec
Script Preparation code:
Tests:
  • non tail-end recursion (descending)

  • tail-end recursion (ascending)

  • iterative (descending)


;