Day 8 and programs take 0.021s so far, and I've put very little effort into optimising them.
Day 11 done and down to 0.019s total. Went back and optimised a few of the worst offenders. All taking 0.001s or 0.002s (as timed by sh's time). It's only Day 9 taking 0.003s and Day 11 taking 0.004s otherwise.
(This may all become moot if Eric throws a stinker in, but I've managed some of the previous years in under 1s total execution time before. Slowly sorting them all out and putting them in one repo but it's taking a while as I'm redoing them all in Go.)
Day 11 done and down to 0.019s total. Went back and optimised a few of the worst offenders. All taking 0.001s or 0.002s (as timed by sh's
time
). It's only Day 9 taking 0.003s and Day 11 taking 0.004s otherwise.(This may all become moot if Eric throws a stinker in, but I've managed some of the previous years in under 1s total execution time before. Slowly sorting them all out and putting them in one repo but it's taking a while as I'm redoing them all in Go.)