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 /.github/pull_request_template.md | |
parent | 9f560b3e11374118afb9575135dc220d0ace267d (diff) | |
download | alacritty-fb9b362b6e6722d0bdcb367033e316536963c25a.tar.gz 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 '.github/pull_request_template.md')
0 files changed, 0 insertions, 0 deletions