mirror of https://github.com/python/cpython
Issue #14394: Use elaborate phrases that boil down to "one to two orders
of magnitude". Provide link to the benchmarks.
This commit is contained in:
parent
458a6fbaa8
commit
bf8030830f
|
@ -603,11 +603,17 @@ decimal
|
||||||
C-module and libmpdec written by Stefan Krah.
|
C-module and libmpdec written by Stefan Krah.
|
||||||
|
|
||||||
The new C version of the decimal module integrates the high speed libmpdec
|
The new C version of the decimal module integrates the high speed libmpdec
|
||||||
library for arbitrary precision correctly-rounded decimal arithmetic.
|
library for arbitrary precision correctly-rounded decimal floating point
|
||||||
libmpdec conforms to IBM's General Decimal Arithmetic Specification.
|
arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Specification.
|
||||||
|
|
||||||
Performance gains range from 12x for database applications to 80x for
|
Performance gains range from 10x for database applications to 80x for
|
||||||
numerically intensive applications:
|
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,
|
||||||
|
in integer bignum arithmetic the differences can be significantly higher.
|
||||||
|
|
||||||
|
The following table is meant as an illustration. Benchmarks are available
|
||||||
|
at (http://www.bytereef.org/mpdecimal/quickstart.html).
|
||||||
|
|
||||||
+---------+-------------+--------------+-------------+
|
+---------+-------------+--------------+-------------+
|
||||||
| | decimal.py | _decimal | speedup |
|
| | decimal.py | _decimal | speedup |
|
||||||
|
|
Loading…
Reference in New Issue