]> granicus.if.org Git - python/commitdiff
_decimal is now 100x faster than the Python version in the pi benchmark.
authorStefan Krah <skrah@bytereef.org>
Mon, 9 Apr 2012 18:31:15 +0000 (20:31 +0200)
committerStefan Krah <skrah@bytereef.org>
Mon, 9 Apr 2012 18:31:15 +0000 (20:31 +0200)
Doc/whatsnew/3.3.rst
Misc/NEWS

index 3eeb954c6cef493db2da97c69a006e114f200e72..766d3f3080150825508031423d1f9f2bb0f7590b 100644 (file)
@@ -628,7 +628,7 @@ The new C version of the decimal module integrates the high speed libmpdec
 library for arbitrary precision correctly-rounded decimal floating point
 arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Specification.
 
-Performance gains range from 10x for database applications to 80x for
+Performance gains range from 10x for database applications to 100x for
 numerically intensive applications. These numbers are expected gains
 for standard precisions used in decimal floating point arithmetic. Since
 the precision is user configurable, the exact figures may vary. For example,
@@ -640,7 +640,7 @@ at http://www.bytereef.org/mpdecimal/quickstart.html.
    +---------+-------------+--------------+-------------+
    |         |  decimal.py |   _decimal   |   speedup   |
    +=========+=============+==============+=============+
-   |   pi    |    42.75s   |    0.58s     |     74x     |
+   |   pi    |    38.89s   |    0.38s     |    100x     |
    +---------+-------------+--------------+-------------+
    | telco   |   172.19s   |    5.68s     |     30x     |
    +---------+-------------+--------------+-------------+
index 47628d0cf36334c0c61b80b3426440a1a44f826a..6eb401c4f7a441ef3c11d10d3416a0db7319055e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -147,7 +147,7 @@ Library
 
 - 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.
+  between 10x and 100x, depending on the application.
 
 - Issue #3573: IDLE hangs when passing invalid command line args
   (directory(ies) instead of file(s)) (Patch by Guilherme Polo)