Why is this loop heavy code so slow in Python? Possible Project Euler spoilers

Paul Rubin http
Sun Sep 2 13:37:01 EDT 2007


aleax at mac.com (Alex Martelli) writes:
> Reusing xranges is exactly what my code was doing 

Oh cool, I missed that, I was just going by the text description.
Looking at the code, yes, it's re-using the xranges.  Thanks.



More information about the Python-list mailing list