[Tutor] Need help speeding up algorithm.

Terry Carroll carroll at tjc.com
Tue Oct 2 22:14:37 CEST 2007

Ian, thanks for cleaning this up and submitting it.  I was curious what 
its performance would be.

On Wed, 26 Sep 2007, Ian Witham wrote:

>     while count > 0:
>         fivecount += count
>         count /= 5

This is a great improvement, and I'm embarrased that I didn't think of it 

More information about the Tutor mailing list