diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2019-12-26 14:23:22 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2019-12-26 14:23:22 +0200 |
commit | 7b994344a3fe38fa0e59109070be169ceeda06e1 (patch) | |
tree | 72b957594adcdbcd13ef6591bf524bfbfdd7a44b /readme.org | |
parent | 60528e663297142ff5adbd83bb2d41df5581251e (diff) |
Day 18 part 2. This needed some optimization
Diffstat (limited to 'readme.org')
-rw-r--r-- | readme.org | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -18,4 +18,8 @@ program should only be pure expressions. - Using "new type" structs can be a pain. derive_more crate made most of that pain go away. - With immutable types, 'reset the machine to try again' type - constraints were handled for free. + constraints were handled for free. This made many later puzzles easier. +- The 'no statement' constraint meant that some functions ended up + nested in a way that makes it harder to name and read. +- The persistent data structures don't integrate with Rayon iterators. +- Easier to test subsets, but harder to inspect and audit runtime behaviour. |