diff options
author | nicm <nicm> | 2020-04-01 07:35:10 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-01 10:08:39 +0100 |
commit | 0dbf4145788cda92b983037e3a7dcdd9a8997e23 (patch) | |
tree | 5c2b78fa63bdc490e61c24c5cfd37e1239865e87 /cmd-list-keys.c | |
parent | 8dedccaa205a91a0dd57012150567403c2ac827d (diff) | |
download | rtmux-0dbf4145788cda92b983037e3a7dcdd9a8997e23.tar.gz rtmux-0dbf4145788cda92b983037e3a7dcdd9a8997e23.tar.bz2 rtmux-0dbf4145788cda92b983037e3a7dcdd9a8997e23.zip |
Performance improvements for regex searching, most notably:
- Use the grid data directly instead of copying it.
- Special case the most typical one byte character cells and use memcmp
for multiple bytes instead of a handrolled loop.
- Hoist regcomp out of the loop into the calling functions.
GitHub issue 2143.
Also a man page from from jmc@.
Diffstat (limited to 'cmd-list-keys.c')
0 files changed, 0 insertions, 0 deletions