summary refs log tree commit diff homepage
path: root/2016/input/day15.txt
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-12-06 01:32:18 -0500
committerJune McEnroe <june@causal.agency>2020-11-22 00:14:24 -0500
commite52535d1f3de4c45805889bfdf32158490bce78e (patch)
treee6c5c84acb863ccd3d3f1befa438cc4a6f895864 /2016/input/day15.txt
parentDay 6 (gross though) (diff)
downloadaoc-e52535d1f3de4c45805889bfdf32158490bce78e.tar.gz
aoc-e52535d1f3de4c45805889bfdf32158490bce78e.zip
Day 6, less gross?
Diffstat (limited to '2016/input/day15.txt')
0 files changed, 0 insertions, 0 deletions
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! 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe This fixes badly indented comments. 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe