diff options
author | Mattias Engdegård <mattiase@acm.org> | 2021-09-15 13:47:15 +0200 |
---|---|---|
committer | Mattias Engdegård <mattiase@acm.org> | 2021-09-15 13:54:24 +0200 |
commit | 544db1ee8679eec9edd5cee81a340ee1c4d70158 (patch) | |
tree | 220b5a13198c1a0fa1603ac83b02f5e207965103 /lisp/emacs-lisp/syntax.el | |
parent | 83557511a7e06d40740d3bf7acbb224eb3a8f150 (diff) | |
download | emacs-544db1ee8679eec9edd5cee81a340ee1c4d70158.tar.gz emacs-544db1ee8679eec9edd5cee81a340ee1c4d70158.tar.bz2 emacs-544db1ee8679eec9edd5cee81a340ee1c4d70158.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions