diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-09-27 14:28:07 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-09-27 14:28:07 +0200 |
commit | 8bd233a7eb6bc4709d0adf0577d30aaf167e75bf (patch) | |
tree | 4b5ba2e1390afd42c033b977a110a28a4ff5df1a /lisp/mail/mail-utils.el | |
parent | 583cb264ad386a3767a05233f0e50b788bcf31ac (diff) | |
download | emacs-8bd233a7eb6bc4709d0adf0577d30aaf167e75bf.tar.gz emacs-8bd233a7eb6bc4709d0adf0577d30aaf167e75bf.tar.bz2 emacs-8bd233a7eb6bc4709d0adf0577d30aaf167e75bf.zip |
Minor string-search optimisations (bug#43598)
* src/fns.c (Fstring_search): Perform cheap all-ASCII checks before more
expensive ones. Use a faster loop when searching for non-ASCII
non-raw bytes.
* test/src/fns-tests.el (string-search): Add more test cases.
Diffstat (limited to 'lisp/mail/mail-utils.el')
0 files changed, 0 insertions, 0 deletions