Commit Graph

4 Commits

Author SHA1 Message Date
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