How to make Python run as fast (or faster) than Julia

Python python at bladeshadow.org
Fri Feb 23 15:02:09 EST 2018


On Fri, Feb 23, 2018 at 01:41:17PM -0600, Python wrote:
> On Sat, Feb 24, 2018 at 06:16:38AM +1100, Chris Angelico wrote:
> > > It seems abundantly clear to me that testing recursion is the point of
> > > writing a benchmark implementing recursion (and very little of
> > > anything else).  Again, you can decide for yourself the suitability of
> > > the benchmark, but I don't think you can really claim it doesn't
> > > effectively test what it means to.
> > 
> > Where do you get that it's specifically a recursion benchmark though?
> > I can't find it anywhere in the explanatory text.
> 
> I don't know how you could conclude it could be meant to test anything
> else.

Actually I will make one small correction, which is to say that the
benchmark tests the performance of algorithms which are predominated
by many function calls, of which recursion is an obvious subset.  But
I think that's splitting hairs.




More information about the Python-list mailing list