commit | 0dbf4145788cda92b983037e3a7dcdd9a8997e23 | [log] [download] |
---|---|---|
author | nicm <nicm> | Wed Apr 01 07:35:10 2020 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Wed Apr 01 10:08:39 2020 +0100 |
tree | 5c2b78fa63bdc490e61c24c5cfd37e1239865e87 | |
parent | 8dedccaa205a91a0dd57012150567403c2ac827d [diff] |
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@.