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.

作者 gregory.p.smith
收信人 christian.heimes, collinwinter, gregory.p.smith, jyasskin, loewis, mark.dickinson, pitrou, schuppenies, vstinner
日期 2009-02-19.02:40:15
SpamBayes Score 3.3314132e-07
Marked as misclassified
Message-id <1235011217.97.0.764206340094.issue4258@psf.upfronthosting.co.za>
In-reply-to
内容
Here are the results from 32-bit x86 on core2 duo gcc 4.0.1 using 
pydigits_bestof.py 4000:

30-bit digits                     (14):  15719 ms
30-bit digits + optimizations (13+ops):  12490 ms
unpatched py3k                        :  13289 ms

(again, i had to manually add #define PYLONG_DIGIT_SIZE 30 to pyconfig.h 
for the longdigit13+optimizations patch).

and pybench runs on the same builds vs unpatched:

30-bit digits                     (14):  -1.4% (slightly slower)
30-bit digits + optimizations (13+ops):  -0.2% (insignificant)


My votes:

Obviously use the optimized version (but fix the configure stuff).

+0  for enabling it by default on 32bit builds.
+10 for enabling it by default on 64bit builds.
历史
日期 用户 动作 参数
2009-02-19 02:40:18gregory.p.smith修改recipients: + gregory.p.smith, loewis, collinwinter, mark.dickinson, pitrou, vstinner, christian.heimes, jyasskin, schuppenies
2009-02-19 02:40:17gregory.p.smith修改messageid: <1235011217.97.0.764206340094.issue4258@psf.upfronthosting.co.za>
2009-02-19 02:40:16gregory.p.smith链接issue4258 messages
2009-02-19 02:40:15gregory.p.smith创建