News for hackers. Stuff that matters.
Re:Hello World execution time by afiler on Sunday June 26, 2011 @11:09PM (#2699940)
To my great astonishment, Ruby's performance was much closer to bash than Python in my own test: 0.572sec for 101 runs in Ruby, versus 4.276sec with Python and 0.318sec with bash. I now feel slightly less bad for all those shell scripts I've written in Ruby instead of bash.
Re:Hello World execution time by afiler on Sunday June 26, 2011 @11:11PM (#2699944)
Adding the -S option to python (to skip 'import site') as seen in another post here brings python's time down to 1.229sec.