[issue2486] Decimal slowdown in 3.0 due to str/unicode changes

Nick Coghlan report at bugs.python.org
Sat May 3 19:56:23 CEST 2008


Nick Coghlan <ncoghlan at gmail.com> added the comment:

(I changed the issue title to better reflect where the discussion has
moved to)

I really like the approach of a custom internal type for the mantissa
storage (the module containing would probably best be called _decimal).
Then it should be possible to focus on letting C do what it does best
(high speed arithmetic) and Python do what it does best (provide the
nice API and context management features)

----------
title: Consider using bytes type instead of str to store Decimal coefficients -> Decimal slowdown in 3.0 due to str/unicode changes

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2486>
__________________________________


More information about the Python-bugs-list mailing list