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 MrJean1
Recipients MrJean1, pitrou
Date 2008-05-08.01:44:57
SpamBayes Score 0.074460566
Marked as misclassified No
Message-id <1210211116.49.0.504085883344.issue2785@psf.upfronthosting.co.za>
In-reply-to
Content
Here is one, simple comparison between 3 different builtin_sum's, all 
measured on the same machine, MacOS X 10.4.11 (Intel Duo):

1) Python 2.5.1 ActiveState with standard Slow Summation:

% python2.5.1 -mtimeit --setup="x=[1.0e12, 7]*1000000" "sum(x)"
10 loops, best of 3: 177 msec per loop


2) Python 2.6a2 (built from source) with the existing Fast Summation:

% python2.6a2 -mtimeit --setup="x=[1.0e12, 7]*1000000" "sum(x)"
10 loops, best of 3: 52.5 msec per loop


3) Python 2.5.2 (built from source) with the submitted Fast Summation:

% python2.5.2 -mtimeit --setup="x=[1.0e12, 7]*1000000" "sum(x)"
10 loops, best of 3: 48.2 msec per loop
History
Date User Action Args
2008-05-08 01:45:17MrJean1setspambayes_score: 0.0744606 -> 0.074460566
recipients: + MrJean1, pitrou
2008-05-08 01:45:16MrJean1setspambayes_score: 0.0744606 -> 0.0744606
messageid: <1210211116.49.0.504085883344.issue2785@psf.upfronthosting.co.za>
2008-05-08 01:45:13MrJean1linkissue2785 messages
2008-05-08 01:45:10MrJean1create