You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Performance regression due to width_aware_slice #717
Apparently ef91741 introduced a significant performance regression when printing a long output. (The precise commit was pinned down through git bisect.)
To reproduce it, run
$ bpython
bpython version 0.18.dev15 on top of Python 2.7.13 /tmp/bpython/.venv/bin/python2
>>> ' '.join(map(str, xrange(10000)))
(hangs)
After reverting ef91741, printing ' '.join(map(str, xrange(10000))) takes less than a blink.
Activity
yangle commentedon Nov 10, 2017
Just realized that this is a duplicate of #703.
sebastinas commentedon Nov 18, 2017
Let's continue that in #703.