attractivechaos / plb

Programming language benchmarks
http://attractivechaos.github.com/plb/
272 stars 57 forks source link

put loop into a function to let execution benefit from local variable optimisations #7

Closed scoder closed 13 years ago

scoder commented 13 years ago

put loop into a function to let execution benefit from local variable optimisations

attractivechaos commented 13 years ago

I think this requires to read the entire file into the memory. Is it right? This is not the intended use case.

scoder commented 13 years ago

No, it's exactly the same program, just better written and with the main algorithm shifted four spaces to the right.

attractivechaos commented 13 years ago

Thank you. I will update the table and the figures later. This is an improvement, but not significantly.