diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-12-07 14:01:44 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-12-07 14:01:44 +0100 |
| commit | 24442bf71850913703b59804e0479e8ff58c1721 (patch) | |
| tree | 23cf153147ae435fda23d8d05de240e7708863f3 /20/py/d01.py | |
| parent | c6cb4f3fddf05c6682e0de260abf3dd339526bef (diff) | |
| download | aoc-24442bf71850913703b59804e0479e8ff58c1721.tar.gz | |
slim day 7
* Use `regex`-module to iterate over all captures made by capture group.
* Inner functions annotated with functools.cache for memoization.
* Refactor out parsing.
* List-comprehensions instead of for .. append.
* Some functools thingies.
Diffstat (limited to '20/py/d01.py')
0 files changed, 0 insertions, 0 deletions
