diff options
author | June McEnroe <june@causal.agency> | 2021-09-12 21:02:19 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-09-12 21:02:19 -0400 |
commit | e7b4d18510cf26a0a72fac72604f930d62b4fa7d (patch) | |
tree | 238ecad4e34893d3bc7aa0f3c03deb6e7c92c200 /txt/.notemap | |
parent | Also defer printing comment for lone close-parens (diff) | |
download | src-e7b4d18510cf26a0a72fac72604f930d62b4fa7d.tar.gz src-e7b4d18510cf26a0a72fac72604f930d62b4fa7d.zip |
Replace htagml regex with strncmp
Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win!
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions