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 facundobatista, mark.dickinson, ncoghlan
Date 2008-03-26.00:55:13
SpamBayes Score 0.21534076
Marked as misclassified No
Message-id <1206492919.1.0.19244908487.issue2486@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a first try at a patch that converts the Decimal coefficient
from type str to type bytes.  It needs some work:  here are some timings 
for a complete run of the test suite (best of 3 in each case) on my
MacBook.

Python 3.0, str:   12.880s
Python 3.0, bytes: 13.294s
Python 2.6:         9.279s
Python 2.5:         9.212s

There's still some room for speedup with the bytes patch, but at the 
moment it doesn't look as though performance alone is a compelling reason 
to make this change.
History
Date User Action Args
2008-03-26 00:55:19mark.dickinsonsetspambayes_score: 0.215341 -> 0.21534076
recipients: + mark.dickinson, facundobatista, ncoghlan
2008-03-26 00:55:19mark.dickinsonsetspambayes_score: 0.215341 -> 0.215341
messageid: <1206492919.1.0.19244908487.issue2486@psf.upfronthosting.co.za>
2008-03-26 00:55:18mark.dickinsonlinkissue2486 messages
2008-03-26 00:55:18mark.dickinsoncreate