summary refs log tree commit diff
path: root/bin/dash/Makefile.in
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-12 21:02:19 -0400
committerJune McEnroe <june@causal.agency>2021-09-12 21:02:19 -0400
commite7b4d18510cf26a0a72fac72604f930d62b4fa7d (patch)
tree238ecad4e34893d3bc7aa0f3c03deb6e7c92c200 /bin/dash/Makefile.in
parentAlso defer printing comment for lone close-parens (diff)
downloadsrc-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 'bin/dash/Makefile.in')
0 files changed, 0 insertions, 0 deletions
more novellas to read, but the other books I have from the library currently are also thick. 2022-03-22Source ~/.profile.local if it existsJune McEnroe 2022-03-18Publish "Addendum 2021"June McEnroe 2022-03-16Remove wcwidth portJune McEnroe DYLD_FORCE_FLAT_NAMESPACE no longer exists in macOS 12 so this approach doesn't work anymore. Moved to <https://git.causal.agency/jorts/tree/wcwidth> and compiled into <https://git.causal.agency/jorts/tree/ncurses>. 2022-03-16Remove -j4 from ./PlanJune McEnroe Plan learned to set this automatically! 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe