-
Notifications
You must be signed in to change notification settings - Fork 16
The plugin slows down the opening of large files #6
Comments
There's also the "dumb" option to only analyse a set number of buffers at a time for large files, and then when you scroll to the end of that range, analyse the next one and make the tabs wider if necessary. I think this might be the best solution: you get the elastic tabs even for arbitrarily large files at a small cost of some columns nudging to the right occasionally as you scroll down – which is similar to what already happens in any file when the line-number margin widens as you reach the next power of 10 while scrolling. |
I've made some experimental changes in 58d744f that limits the amount of text processed, so this should perform noticeably better especially on large files, even during Find/Replacing (see #7). It does have have the side effect of some "column nudging" when scrolling, and code folding also is not taken into account at all. Currently it looks at 1 "screen" worth of text above and below the current screen. My guess is that this could be increased without much of a performance hit but wanted to see if anyone could test out the current changes to see how well it works. You can download the experimental releases below. Just extract and copy the DLL file. |
First of all, thanks for this plugin; it works really well and is a huge help!
Description of the Issue
Opening a large file (or simply tab switching to a large file) with the plugin installed is much slower than opening it w/o the plugin.
Steps to Reproduce the Issue
Notes
If I may suggest two solutions;
Thank you
The text was updated successfully, but these errors were encountered: