diff options
author | nicm <nicm> | 2020-04-01 07:35:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-01 07:35:10 +0000 |
commit | 46ed81fc45c26e383e6bb97b0bf624a3087b217f (patch) | |
tree | 01dde7c07c6a243833cd130206eb1c9b7fdf4cfe /input-keys.c | |
parent | 38f1546a667c014a77778f6dd91898dbf41b077f (diff) | |
download | rtmux-46ed81fc45c26e383e6bb97b0bf624a3087b217f.tar.gz rtmux-46ed81fc45c26e383e6bb97b0bf624a3087b217f.tar.bz2 rtmux-46ed81fc45c26e383e6bb97b0bf624a3087b217f.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 'input-keys.c')
0 files changed, 0 insertions, 0 deletions