summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-06-24 10:20:03 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-06-24 10:20:03 (GMT)
commit78f075636cb222c9760a2e3a1235f976714d4c38 (patch)
tree1b29bc7058ce07ea4fff3d31ebd445a4b250c2f1 /Misc
parent95aeae01e29de49bf0d47b2442bc656cfe0e2ee1 (diff)
downloadcpython-78f075636cb222c9760a2e3a1235f976714d4c38.zip
cpython-78f075636cb222c9760a2e3a1235f976714d4c38.tar.gz
cpython-78f075636cb222c9760a2e3a1235f976714d4c38.tar.bz2
Speed up _decimal by another 10-15% by caching the thread local context
that was last accessed. In the pi benchmark (64-bit platform, prec=9), _decimal is now only 1.5x slower than float.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3a07f03..6f3b85d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -55,6 +55,10 @@ Core and Builtins
Library
-------
+- Speed up _decimal by another 10-15% by caching the thread local context
+ that was last accessed. In the pi benchmark (64-bit platform, prec=9),
+ _decimal is now only 1.5x slower than float.
+
- Remove the packaging module, which is not ready for prime time.
- Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"