summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-09-01 12:21:22 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-09-01 12:21:22 (GMT)
commita10e2fbe0bb820d2c893653b4e42b10cb7d5eb27 (patch)
tree8e0f5fb5fd74d60ef8385f6a34207e41084cd5a9
parent6f858a2eea0918af92673be6ed784f9fbe94134d (diff)
downloadcpython-a10e2fbe0bb820d2c893653b4e42b10cb7d5eb27.zip
cpython-a10e2fbe0bb820d2c893653b4e42b10cb7d5eb27.tar.gz
cpython-a10e2fbe0bb820d2c893653b4e42b10cb7d5eb27.tar.bz2
Compile _decimal without asserts and update benchmark results.
-rw-r--r--Doc/whatsnew/3.3.rst2
-rw-r--r--setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index e019ea7..7de0256 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1119,7 +1119,7 @@ at http://www.bytereef.org/mpdecimal/quickstart.html.
+---------+-------------+--------------+-------------+
| | decimal.py | _decimal | speedup |
+=========+=============+==============+=============+
- | pi | 38.89s | 0.38s | 100x |
+ | pi | 42.02 | 0.345 | 120x |
+---------+-------------+--------------+-------------+
| telco | 172.19s | 5.68s | 30x |
+---------+-------------+--------------+-------------+
diff --git a/setup.py b/setup.py
index 7f863a4..9ddf2e9 100644
--- a/setup.py
+++ b/setup.py
@@ -1897,7 +1897,7 @@ class PyBuildExt(build_ext):
def _decimal_ext(self):
extra_compile_args = []
- undef_macros = ['NDEBUG']
+ undef_macros = []
if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
include_dirs = []
libraries = ['mpdec']