This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients mark.dickinson, pitrou, vstinner
Date 2009-03-18.23:27:20
SpamBayes Score 2.01317e-10
Marked as misclassified No
Message-id <>
My numbers:

# No patch
$ ./python /home/haypo/ 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
Date User Action Args
2009-03-18 23:27:22vstinnersetrecipients: + vstinner, mark.dickinson, pitrou
2009-03-18 23:27:22vstinnersetmessageid: <>
2009-03-18 23:27:21vstinnerlinkissue5512 messages
2009-03-18 23:27:20vstinnercreate