[Python-Dev] [Python-checkins] cpython: Issue #7652: Integrate the decimal floating point libmpdec library to speed

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Mar 22 13:58:36 CET 2012


On Wed, Mar 21, 2012 at 23:22, Victor Stinner <victor.stinner at gmail.com> wrote:
>>> http://hg.python.org/cpython/rev/7355550d5357
>>> changeset:   75850:7355550d5357
>>> user:        Stefan Krah <skrah at bytereef.org>
>>> date:        Wed Mar 21 18:25:23 2012 +0100
>>> summary:
>>>  Issue #7652: Integrate the decimal floating point libmpdec library to speed
>>> up the decimal module. Performance gains of the new C implementation are
>>> between 12x and 80x, depending on the application.

As a Python user, this looks really cool, thanks!

As a packager, is the libmpdec library used elsewhere? For Gentoo, we
generally prefer to package libraries separately and have Python
depend on them. From the site, it seems like you more or less wrote
libmpdec for usage in Python, but if it's general-purpose and actually
used in other software, it would be nice if Python grew a configure
option to make it use the system libmpdec.

Cheers,

Dirkjan


More information about the Python-Dev mailing list