Skip to content

oprudkyi/shootout

Repository files navigation

shootout

The Computer Language Benchmarks Game
http://shootout.alioth.debian.org/

Project for reviewing/updating php programs

Results:

1.63x speedup - from 4.56 sec to 2.8 sec

Changes:

  • global variables are used for temporary values instead of arrays
  • functions are inlined
  • count of math operations is reduced
  • functions return simple values instead of arrays
  • output buffering is optimized

implementation based/ported from lua-5 version

1.31x speedup - from 59 min to 45 min

Changes:

  • deep optimization of code - references, faster incrementors, avoiding double-counting of indexes

5.36x speedup - from 59 min to 11 min

Changes:

About

The Computer Language Benchmarks Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages