[Python-Dev] SIGCHECK() in longobject.c

Nick Coghlan ncoghlan at gmail.com
Tue Oct 20 12:49:27 CEST 2009

Mark Dickinson wrote:
> This high-precision inefficiency could easily be fixed by
> using a dedicated 'decimal natural number' extension
> type for the Decimal coefficient, stored internally in base
> a suitable power of 10.  I think this may be worth
> considering seriously. I'm not proposing this as an alternative
> to the huge task of rewriting the entire decimal module in C,
> by the way;  it would be more a stop-gap measure that would
> be easy to implement, would slightly increase efficiency for
> normal operations, and vastly increase efficiency for high-precision
> operations.

Didn't you already start work on that concept with the deccoeff patch?


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list