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 mark.dickinson
Recipients collinwinter, eric.smith, gawain, gregory.p.smith, mark.dickinson, vstinner
Date 2009-09-10.16:39:42
SpamBayes Score 1.0383174e-05
Marked as misclassified No
Message-id <1252600787.04.0.544143537442.issue6713@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry:  ignore that last message;  I was talking through my hat.  I 
think I must have been unwittingly building in debug mode.

Ahem.  After a 'make distclean', I get the following results (same specs 
as above, on a 2.53Ghz MacBook Pro / Core 2 Duo).

original: 783.8 ms
patched:  373.5 ms  (2.1 x faster)
patch 2:  323.7 ms  (2.4 x faster)

patch 2 (attached) is Gawain's original patch, but with the base != 
2,8,10,16 code removed and the call to _inplace_divrem1 inlined and 
slightly reorganized.  (No changes to intobject.c.)
History
Date User Action Args
2009-09-10 16:39:48mark.dickinsonsetrecipients: + mark.dickinson, collinwinter, gregory.p.smith, vstinner, eric.smith, gawain
2009-09-10 16:39:47mark.dickinsonsetmessageid: <1252600787.04.0.544143537442.issue6713@psf.upfronthosting.co.za>
2009-09-10 16:39:45mark.dickinsonlinkissue6713 messages
2009-09-10 16:39:45mark.dickinsoncreate