-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve cache update for deleted lines
If multiple adjacent lines have been deleted, drop wads and adjust wads in one go instead of doing it for each delete line individually. For certain buffer contents such as a block comment that spans thousands of lines, this change reduces the cache update time from many seconds to a few dozen (or at worst at few hundred) milliseconds.
- Loading branch information
Showing
1 changed file
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters