Commit Briefs
Use local cache with optimized keys
Much faster
Optimize day 9
- Iterative algorithm - Reduce looping
Massively simplify task 2
List can simply be reversed and we can reuse the function from task 1
Optimize day 8
- Convert locations to numbers - Use those numbers to index an array, rather than a hashtable
Optimize day 7
- Change card score calculation to lookup table - Calculate total cards strength only once
