summary refs log tree commit diff
path: root/bin/dash/COPYING
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
commit865ee640ace97962cb9918b9a17a9bbb87e2695d (patch)
tree025afc0433fe9047b5a8c2572ee61ccbfa7c6bc8 /bin/dash/COPYING
parentAlso defer printing comment for lone close-parens (diff)
downloadsrc-865ee640ace97962cb9918b9a17a9bbb87e2695d.tar.gz
src-865ee640ace97962cb9918b9a17a9bbb87e2695d.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
d6c3ca96a54eae106f1&follow=1'>Add Maiden, Mother, CroneJune McEnroe 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe