Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53
Windows 8.1
Other
8 years ago
Test name Executions per second
Original 61584.7 Ops/sec
Improvement 90535.0 Ops/sec
Recursion 920591.6 Ops/sec
Reverse Engineered Recursion 5090834.0 Ops/sec
Matt Solution 1136654.2 Ops/sec
Script Preparation code:
Tests:
  • Original

  • Improvement

  • Recursion

  • Reverse Engineered Recursion

  • Matt Solution


;