summary refs log tree commit diff
path: root/www/text.causal.agency/006-some-libs.7
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 /www/text.causal.agency/006-some-libs.7
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 'www/text.causal.agency/006-some-libs.7')
0 files changed, 0 insertions, 0 deletions
ve gfxx reverse optionJune McEnroe 2018-02-04Fix gfxx draw stop conditionJune McEnroe 2018-02-04Reuse CGColorSpace and CGDataProvider in gfcocoaJune McEnroe 2018-02-04Mark mac target phonyJune McEnroe 2018-02-04Set up Makefile for gfxx-cocoa or gfxx-fbJune McEnroe 2018-02-04Avoid doing excessive work in gfxxJune McEnroe 2018-02-04Handle window resizing in gfcocoaJune McEnroe 2018-02-04Set cinoptionsJune McEnroe 2018-02-04Tweak colorscheme moreJune McEnroe 2018-02-04Color MatchParen DarkYellowJune McEnroe 2018-02-04Add palette sampling to gfxxJune McEnroe 2018-02-04Add 4-bit RGB to gfxxJune McEnroe 2018-02-04Add Quit menu item to gfcocoaJune McEnroe 2018-02-04Switch back to sane Objective-C styleJune McEnroe 2018-02-04Quit gfcocoa when window closesJune McEnroe 2018-02-03Apparently this is how people write Objective-CJune McEnroe