Menu

Poor performance with large files when word wrap mode enabled

2015-03-29
2015-03-30
  • R Wilmshurst

    R Wilmshurst - 2015-03-29

    I find that when using large files (multiple megabytes, particular log file I had was approaching 200 MB) with Word Wrap option enabled, performance of notepad++ is very poor, can take 30 seconds or more for a Control+End keyboard shortcut to go from middle to end of document for example. High CPU use during this time. If Word Wrap is turned off, performance is much much better. Is there a specific reason for this big performance difference, could anything be done to improve it?

    Notepad++ 6.7.5 under Windows 7, ThinkPad X200, though same issue apparent on earlier 6.6 versions of Notepad++ and when running on Linux under Wine as well.

    Thanks

     
  • Justin Dailey

    Justin Dailey - 2015-03-30

    This is something outside of the control of Notepad++ since it uses Scintilla as the underlying implementation for handling the text files. Word wrapping can be very computationally expensive, especially with lots of lines. However that's not to say there is not room for improvement within Scintilla.

     
MongoDB Logo MongoDB