STINNER Victor added the comment: > Without the patch, 1 << (2**29) allocates 69.9 MB. With the patch, 1 << > (2**29) allocates 0.1 MB (104 KB).
This is still true with long_lshift2.patch (except that in my new test, it allocates 196 kB). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21419> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com