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
tail-end recursion (ascending) 4126051.0 Ops/sec
iterative (descending) 4779792.0 Ops/sec
iterative (descending) #2 16515229.0 Ops/sec
iterative (descending) #3 17731502.0 Ops/sec
iterative (descending) #4 17121378.0 Ops/sec
iterative (descending) #5 17242846.0 Ops/sec
Script Preparation code:
Tests:
  • tail-end recursion (ascending)

  • iterative (descending)

  • iterative (descending) #2

  • iterative (descending) #3

  • iterative (descending) #4

  • iterative (descending) #5


;