summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/ui-atom.h
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 /www/git.causal.agency/cgit/ui-atom.h
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 'www/git.causal.agency/cgit/ui-atom.h')
0 files changed, 0 insertions, 0 deletions
a>June McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe Apparently sometimes it didn't like receiving its own internal storage to parse again. Understandable. 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe