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)
commitceaaced4be53b1d33eb0d3cc27f93e6ac587e150 (patch)
tree4a325554476d6c029c15b6ac4528dbaf94c80339
parenteaaf9e924919d046d71403754c15524092a2c3f3 (diff)
downloadcpython-ceaaced4be53b1d33eb0d3cc27f93e6ac587e150.zip
cpython-ceaaced4be53b1d33eb0d3cc27f93e6ac587e150.tar.gz
cpython-ceaaced4be53b1d33eb0d3cc27f93e6ac587e150.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 27bf12d..9d8b80d 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']