##// END OF EJS Templates
get rid of most slowdown at notebook loading....
get rid of most slowdown at notebook loading. 1) Do not setOption('mode',new_mode) on CM if new and old mode are the same. It triggert **a lot** of calculation of bounding box in the end. 2) Do **not** select cell when loading the notebook it triggers **a lot** of CM even that check visible things and so on and so forth. So add a option to add_cell_at_index not to select it 3) jQuery $.attr has some magics, but has a slight overhead on real native ELEM.setAttribute DOM method. Seem slight improvement when loads of PNGs on one page
Matthias BUSSONNIER -
r13573:417940c5
Show More
Name Size Modified Last Commit Author
/ docs / source / parallel / figs
asian_call.pdf Loading ...
asian_call.png Loading ...
asian_put.pdf Loading ...
asian_put.png Loading ...
dagdeps.pdf Loading ...
dagdeps.png Loading ...
hpc_job_manager.pdf Loading ...
hpc_job_manager.png Loading ...
mec_simple.pdf Loading ...
mec_simple.png Loading ...
parallel_pi.pdf Loading ...
parallel_pi.png Loading ...
simpledag.pdf Loading ...
simpledag.png Loading ...
single_digits.pdf Loading ...
single_digits.png Loading ...
two_digit_counts.pdf Loading ...
two_digit_counts.png Loading ...
wideView.png Loading ...