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
Date 2008-05-07.19:53:40
SpamBayes Score 0.00028311962
Marked as misclassified No
Message-id <1210190023.19.0.40382803719.issue2785@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch bltmodule2.c.diff is a different implementation of 
the fast summation code for your consideration.

It uses three separate sums to add ints, floats and other objects.  All 
ints are accumulated into a C long, reset even after overflow.  All 
floats are added into a C double without mixing ints.  Other objects are 
handled as before.

This version has been tested with Python 2.5.2 as well and passed the 
existing regressions.

/Jean Brouwers
History
Date User Action Args
2008-05-07 19:53:43MrJean1setspambayes_score: 0.00028312 -> 0.00028311962
recipients: + MrJean1
2008-05-07 19:53:43MrJean1setspambayes_score: 0.00028312 -> 0.00028312
messageid: <1210190023.19.0.40382803719.issue2785@psf.upfronthosting.co.za>
2008-05-07 19:53:42MrJean1linkissue2785 messages
2008-05-07 19:53:42MrJean1create