]> code.delx.au - gnu-emacs-elpa/commit
Improve performance for "^" initial input
authorOleh Krehel <ohwoeowho@gmail.com>
Fri, 19 Jun 2015 13:53:39 +0000 (15:53 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Fri, 19 Jun 2015 13:53:39 +0000 (15:53 +0200)
commitd9c4427330d47b38199082796f8a522d56d10d1c
tree9cc6a2a95a5c755ebee98319dd450bf9f1082c0f
parent972036cbe6967d5cdb2fb89ea49081b8af9dc447
Improve performance for "^" initial input

ivy.el (ivy--filter): There's no need to anchor when the previous regex
is "^" (matches everything). The result will be index 0 anyway, but
without this optimization it can be slow for ~30k candidates.
ivy.el