Commit Graph

9 Commits

Author SHA1 Message Date
73fe093450 Optimize part 2.
Allocate only the size of the buffer that's necessary. Also calculate the partial sums backwards so there's no switch needed later.
2019-12-16 23:29:22 +01:00
77b1728397 Day 16 part 1: optimize all but initial allocations.
I don't think this can be much faster.
2019-12-16 23:02:53 +01:00
36c1692916 Reduce allocations even more. 2019-12-16 22:41:24 +01:00
77cb308287 Reduce allocations. 2019-12-16 13:14:29 +01:00
596e8ccde3 Implement n log n advancement. 2019-12-16 13:10:51 +01:00
c46f0f9e2e Implement day 16 part 2. 2019-12-16 08:30:17 +01:00
a5a0e6f860 Partial incorrect part 2. 2019-12-16 07:22:06 +01:00
44f8108b1d Implement day 16 part 1. 2019-12-16 06:29:57 +01:00
e9bf399af4 Prepare all days skeletons. 2019-11-28 08:00:46 +01:00