diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-15 10:13:41 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-15 10:13:41 (GMT) |
commit | 2ffb26fb83b4c559d1f4cd3a26cda6d7234e809d (patch) | |
tree | fc58678a4ae4a4fab0f600fa8a23dc9b03c3d010 /Misc | |
parent | 5b8c701eef1b34fb5cdf3b1ecb4fefd927df2fae (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |