29b5dcdf62
Change signature for solution.
2019-08-22 12:28:52 +02:00
374eda945b
Reduce code duplication.
2019-02-18 15:39:41 +01:00
c16ef40d73
Correct formatting.
2019-02-18 15:13:48 +01:00
171d9fa2e9
Update to new itertools version
2019-02-18 15:08:36 +01:00
2f0c8ef2d4
Replace format("{}") with .to_string() where possible.
2018-12-22 10:07:14 +01:00
eaf1156ae0
Refactor for autovectorization.
...
By storing x/y as a vector of ints instead of a vector of tuples, the
compiler recognizes it for what it is: a huge vector multiplication. Now
the compiler emits AVX2 instructions.
2018-12-10 17:13:10 +01:00
c3480482f2
Implement an estimator function for day 10.
...
This bumps the speed tenfold.
2018-12-10 14:17:57 +01:00
c94555fda1
Implement day 10.
...
This implementation is stupid but it works.
2018-12-10 13:13:29 +01:00
9b287a0098
Prepare future scaffolding.
...
Also reformat the code, but that is nothing significant.
2018-12-09 13:02:54 +01:00