Author haypo
Recipients haypo, mark.dickinson, pitrou
Date 2009-03-18.23:27:20
SpamBayes Score 2.01317e-10
Marked as misclassified No
Message-id <1237418842.4.0.379665741187.issue5512@psf.upfronthosting.co.za>
In-reply-to
Content
My numbers:

# No patch
$ ./python /home/haypo/pidigits-2.py 3000
Python 3.1a1+ (py3k:70466, Mar 18 2009, 23:56:06)
[GCC 4.3.2]
CPU: 64 bits, little endian
PyLong: base=2^30, sizeof(digit)=32 bits
(...)
Best Time; 2300.2 ms

# With faster_integer_division.patch
(...)
Best Time; 1138.1 ms

Ok, it's two times faster on 64 bits CPU!!!

Other notes about pidigits:
 - missing header (no author name, no description)
 - pidigit should also write the number of digits in its output to 
avoid mistakes in comparaisons
History
Date User Action Args
2009-03-18 23:27:22hayposetrecipients: + haypo, mark.dickinson, pitrou
2009-03-18 23:27:22hayposetmessageid: <1237418842.4.0.379665741187.issue5512@psf.upfronthosting.co.za>
2009-03-18 23:27:21haypolinkissue5512 messages
2009-03-18 23:27:20haypocreate