News for hackers. Stuff that matters.
Re:How slow is Python really? Or how fast is your language? by kbenson on Wednesday April 30, 2014 @10:18AM (#7673433)
Measuring implementations of the same algorithm is how you benchmark algorithms, not a a language as a whole. If a language or library allows for enhancements based on it's strengths (in this case, the ability to code in early exits), those are perfectly valid in benchmarking languages and libraries.

Put another way, one of the benefits of Python (and drawbacks of using an external library) is that you have more control over the algorithm and exactly what it does.

That said, a sample size of one will hardly give you an accurate picture.

Re:How slow is Python really? Or how fast is your language? by igouy on Wednesday April 30, 2014 @11:18AM (#7673843)
"Measuring implementations of the same algorithm is how you benchmark" that one algorithm.

"Measuring implementations of [different] algorithms is how you benchmark algorithms"

Re:How slow is Python really? Or how fast is your language? by kbenson on Wednesday April 30, 2014 @11:54AM (#7674144)
Yes, and in this case, we can think of pure Python and it's capabilities as one "algorithm", and calling out to a library as another.
Re:How slow is Python really? Or how fast is your language? by igouy on Wednesday April 30, 2014 @12:53PM (#7674542)
That is probably not what readers of your comment understand by the word algorithm.