Branch: refs/heads/3.1-rc
Home: https://github.com/tmux/tmux
Commit: 8dedccaa205a91a0dd57012150567403c2ac827d
https://github.com/tmux/tmux/commit/8dedccaa205a91a0dd57012150567403c2ac827d
Author: nicm <nicm>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M tmux.1
M tmux.h
M window-copy.c
Log Message:
-----------
Add non-regex search variants to avoid the performance cost for people
with large histories or long lines.
Commit: 0dbf4145788cda92b983037e3a7dcdd9a8997e23
https://github.com/tmux/tmux/commit/0dbf4145788cda92b983037e3a7dcdd9a8997e23
Author: nicm <nicm>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M window-copy.c
Log Message:
-----------
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@.
Commit: 3476eccf48001865ee43f98454d76895158063dc
https://github.com/tmux/tmux/commit/3476eccf48001865ee43f98454d76895158063dc
Author: nicm <nicm>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M window-copy.c
Log Message:
-----------
Use a comparison to check for wrap and avoid an expensive modulus.
Commit: a5922546ac1e596fc37dc883cff12a9026f68d27
https://github.com/tmux/tmux/commit/a5922546ac1e596fc37dc883cff12a9026f68d27
Author: nicm <nicm>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M window-copy.c
Log Message:
-----------
Do not go down the regex search path (which is expensive because we need
to convert the grid data into a string for regexec and reverse it to
find the grid position) if the search string does not contain any regex
special characters.
Compare: https://github.com/tmux/tmux/compare/e5fd85415d89...a5922546ac1e
--
You received this message because you are subscribed to the Google Groups
"tmux-git" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-git/tmux/tmux/push/refs/heads/3.1-rc/e5fd85-a59225%40github.com.