summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-15 10:13:41 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-15 10:13:41 (GMT)
commit2ffb26fb83b4c559d1f4cd3a26cda6d7234e809d (patch)
treefc58678a4ae4a4fab0f600fa8a23dc9b03c3d010 /Misc
parent5b8c701eef1b34fb5cdf3b1ecb4fefd927df2fae (diff)
downloadcpython-2ffb26fb83b4c559d1f4cd3a26cda6d7234e809d.zip
cpython-2ffb26fb83b4c559d1f4cd3a26cda6d7234e809d.tar.gz
cpython-2ffb26fb83b4c559d1f4cd3a26cda6d7234e809d.tar.bz2
Issue #5260: Various portability and standards compliance fixes, optimizations
and cleanups in Objects/longobject.c. The most significant change is that longs now use less memory: average savings are 2 bytes per long on 32-bit systems and 6 bytes per long on 64-bit systems. (This memory saving already exists in py3k.)
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 e1778df..142026c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
+- Issue #5260: Long integers now consume less memory: average
+ saving is 2 bytes per long on a 32-bit system and 6 bytes per long
+ on a 64-bit system.
+
- Issue #5186: Reduce hash collisions for objects with no __hash__ method by
rotating the object pointer by 4 bits to the right.