Catching up now, doing days out of order. For this one I had a slow solution (20 or 30 minutes or so), but a relatively simple optimization finally gives me the solution in ~65 ms.
Catching up now, doing days out of order. For this one I had a slow solution (20 or 30 minutes or so), but a relatively simple optimization finally gives me the solution in ~65 ms.
Now it's picking up a bit. Run time for my part 2 solution is around 101 ms, more than 1000x yesterday's solution.
#Ada #Adalanguage
Now it's picking up a bit. Run time for my part 2 solution is around 101 ms, more than 1000x yesterday's solution.
#Ada #Adalanguage
Longest (part 2) solution this year has been day 4 with about 1850 μs. Current day 7 comes in around 85 μs. (Depending on CPU temperature...)
Longest (part 2) solution this year has been day 4 with about 1850 μs. Current day 7 comes in around 85 μs. (Depending on CPU temperature...)
Another one that's not computationally expensive, but really neatly to implement thanks to not having a dozen special cases to take care of.
Another one that's not computationally expensive, but really neatly to implement thanks to not having a dozen special cases to take care of.
All caught up now with 2 stars.
All caught up now with 2 stars.
#electronics #retrocomputing #vintagecomputing
#electronics #retrocomputing #vintagecomputing