##// 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:

r16113:87737521
r16235:bceec0c0
Show More
other.ipynb
32 lines | 501 B | text/plain | TextLexer

This notebook just defines bar

InĀ [2]:
def bar(x):
    return "bar" * x