]> git.eshelyaron.com Git - emacs.git/commit
Faster grep pattern for identifiers
authorMattias Engdegård <mattiase@acm.org>
Wed, 15 Sep 2021 11:47:15 +0000 (13:47 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 15 Sep 2021 11:54:24 +0000 (13:54 +0200)
commit544db1ee8679eec9edd5cee81a340ee1c4d70158
tree220b5a13198c1a0fa1603ac83b02f5e207965103
parent83557511a7e06d40740d3bf7acbb224eb3a8f150
Faster grep pattern for identifiers

* lisp/cedet/semantic/symref/grep.el (semantic-symref-perform-search):
Use the `-w` flag instead of wrapping the pattern in regexps that make
matching much slower.  This speeds up `xref-find-references` by about
3× on macOS.
lisp/cedet/semantic/symref/grep.el