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? Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com