summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 11Tom Smeding2024-12-14
|
* 10Tom Smeding2024-12-14
|
* 9Tom Smeding2024-12-14
|
* WIP 9Tom Smeding2024-12-09
|
* 8Tom Smeding2024-12-09
|
* 7Tom Smeding2024-12-09
|
* 6Tom Smeding2024-12-08
| | | | Part 2 is very slow, but meh?
* 5 (don't put f*** cycles in your graph)Tom Smeding2024-12-06
|
* 4Tom Smeding2024-12-04
|
* 3Tom Smeding2024-12-03
|
* 2: Fix bug that doesn't get triggered by my inputTom Smeding2024-12-02
|
* 2Tom Smeding2024-12-02
|
* Can't share inputTom Smeding2024-12-02
|
* 1: optimise (as if it's necessary)Tom Smeding2024-12-02
|
* 2024Tom Smeding2024-12-02
|
* 16Tom Smeding2021-12-16
| | | | | I don't know what you're all about with parsec and stuff, plain recursive descent?
* Cleanup 15Tom Smeding2021-12-15
|
* 15Tom Smeding2021-12-15
|
* Faster 14Tom Smeding2021-12-15
|
* 14Tom Smeding2021-12-15
|
* uniq in UtilTom Smeding2021-12-15
|
* Remove Futhark type suffix in output of 9Tom Smeding2021-12-13
|
* 13Tom Smeding2021-12-13
|
* 12Tom Smeding2021-12-13
|
* 11Tom Smeding2021-12-13
|
* WIP 11Tom Smeding2021-12-12
|
* Less warnings on 5 and 8Tom Smeding2021-12-12
|
* 10Tom Smeding2021-12-12
|
* 9Tom Smeding2021-12-09
|
* 8Tom Smeding2021-12-08
|
* 7Tom Smeding2021-12-07
|
* 6Tom Smeding2021-12-06
|
* 5Tom Smeding2021-12-05
|
* 4Tom Smeding2021-12-04
|
* Allow 'c' argument for auto-pasteTom Smeding2021-12-04
|
* 3Tom Smeding2021-12-03
|
* 2Tom Smeding2021-12-02
|
* 2021Tom Smeding2021-12-01
|
* Day 20Tom Smeding2020-12-27
|
* Day 19Tom Smeding2020-12-25
| | | | | | | | The second part was supposed to be more difficult than the first part; the problem statement hinted that you might need to memoise the set of sentences matched by non-recursive rules, "especially rules 42 and 31". Why the hell then did my utterly naive matcher from part 1 work without changes in ~60ms total?
* Day 18Tom Smeding2020-12-23
| | | | Yay parsec
* Day 17Tom Smeding2020-12-23
|
* Day 16Tom Smeding2020-12-19
|
* Day 15 (slow)Tom Smeding2020-12-16
|
* Day 14Tom Smeding2020-12-16
|
* Day 13Tom Smeding2020-12-16
|
* Day 12Tom Smeding2020-12-16
|
* Day 12 part 1Tom Smeding2020-12-14
|
* Day 11Tom Smeding2020-12-14
|
* Day 10Tom Smeding2020-12-13
| | | | | | | | This one is particularly nice in Haskell, since transforming the naive recursive function to a memoised, linear form was literally a matter of writing the recursion using an explicit fixpoint combinator, and then replacing the recursive call with a lazy array index. This is where laziness shines.