diff options
| author | Christian Duerr <contact@christianduerr.com> | 2021-01-07 05:19:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-07 05:19:37 +0000 |
| commit | fb9b362b6e6722d0bdcb367033e316536963c25a (patch) | |
| tree | 0a6f81d03783aeea034b10d46fb1b7cb47ab40ae /src/git: | |
| parent | 9f560b3e11374118afb9575135dc220d0ace267d (diff) | |
| download | r-alacritty-fb9b362b6e6722d0bdcb367033e316536963c25a.tar.gz r-alacritty-fb9b362b6e6722d0bdcb367033e316536963c25a.tar.bz2 r-alacritty-fb9b362b6e6722d0bdcb367033e316536963c25a.zip | |
Fix inefficient search initialization
The creation of the renderable search iterator was doing a lot of work
even when absolutely no search is active at the moment. To resolve this
problem, an early return now makes sure that a search is active before
going through the trouble of creating an iterator for it.
Diffstat (limited to 'src/git:')
0 files changed, 0 insertions, 0 deletions