summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-04-09 18:31:15 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-04-09 18:31:15 (GMT)
commit0c0914edb0fba3e31d6ad3aa70ef1822c21782f6 (patch)
tree89198dc306dc491d7f9abf83b23756c704dd1b59 /Doc/whatsnew
parentdd159ce606aee54f313d3d6c44248af743230d30 (diff)
downloadcpython-0c0914edb0fba3e31d6ad3aa70ef1822c21782f6.zip
cpython-0c0914edb0fba3e31d6ad3aa70ef1822c21782f6.tar.gz
cpython-0c0914edb0fba3e31d6ad3aa70ef1822c21782f6.tar.bz2
_decimal is now 100x faster than the Python version in the pi benchmark.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.3.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 3eeb954..766d3f3 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -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 |
+---------+-------------+--------------+-------------+