diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-05-08 18:38:33 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-05-09 13:17:24 +0200 |
commit | 56468b52b2355a00c1dff2137c54136dbb031922 (patch) | |
tree | 460e18c342a0aa0ecb1f362ae351901b0dba5b45 /test/lisp/emacs-lisp/bytecomp-resources/warn-free-variable-reference.el | |
parent | e9258a882a9b54f2992ae8ffd73e3da6bb3c4556 (diff) | |
download | emacs-56468b52b2355a00c1dff2137c54136dbb031922.tar.gz emacs-56468b52b2355a00c1dff2137c54136dbb031922.tar.bz2 emacs-56468b52b2355a00c1dff2137c54136dbb031922.zip |
Speed up skip-chars-{forward|reverse} with char classes
* src/regex-emacs.h (re_wctype_t): Add RECC_NUM_CLASSES.
* src/syntax.c (skip_chars, in_classes): Use an array on the stack
instead of a Lisp list for storing character classes.
Don't check all classes if there is a match in one.
Remove useless handle_iso_classes argument.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-free-variable-reference.el')
0 files changed, 0 insertions, 0 deletions