aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-01 07:35:10 +0000
committernicm <nicm>2020-04-01 07:35:10 +0000
commit89d2a20e561878f3fee11005369c1d56b9a08c38 (patch)
tree01dde7c07c6a243833cd130206eb1c9b7fdf4cfe /input-keys.c
parentb66d62d2d05fcb889680c5d844d68ffcef6e9689 (diff)
downloadrtmux-89d2a20e561878f3fee11005369c1d56b9a08c38.tar.gz
rtmux-89d2a20e561878f3fee11005369c1d56b9a08c38.tar.bz2
rtmux-89d2a20e561878f3fee11005369c1d56b9a08c38.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