##// END OF EJS Templates
Backport PR #5535: fix n^2 performance issue in coalesce_streams preprocessor...
Backport PR #5535: fix n^2 performance issue in coalesce_streams preprocessor for n consecutive stream outputs, `\r` fix would be compiled n times, and applied to each ith output (n-i) times. - move pattern to module level - apply replacement after coalescing outputs An example notebook from nbviewer with ~1k outputs that was taking 90 seconds to render now takes 3 seconds.

File last commit:

r16136:94a4d14e
r16235:bceec0c0
Show More
list_subdirs.ipy
5 lines | 162 B | text/plain | TextLexer
# A simple IPython script that lists files in all subdirs
from IPython.display import FileLinks, display
dirs =!ls -d */
for d in dirs:
display(FileLinks(d))