Skip to content

Speed up a *lot* loading large files

Tomaz Canabrava requested to merge tcanabrava/ktexteditor:speedup_load into master

A large file (of 120mbs) loads now in ~6s instead of the original ~10s, a reduction of almost 40%. Tested with a QElapsedTimer

with this patch:

$ kwrite
Timer Elapsed 6228

Without:

$ kwrite
Timer Elapsed 10491

Merge request reports