diff options
| author | Mattias EngdegÄrd | 2023-05-08 18:38:33 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-05-09 13:17:24 +0200 |
| commit | 56468b52b2355a00c1dff2137c54136dbb031922 (patch) | |
| tree | 460e18c342a0aa0ecb1f362ae351901b0dba5b45 /exec/exec.c | |
| parent | e9258a882a9b54f2992ae8ffd73e3da6bb3c4556 (diff) | |
| download | emacs-56468b52b2355a00c1dff2137c54136dbb031922.tar.gz 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 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions