Commit graph

38 commits

Author SHA1 Message Date
Antoine Martin fa9827852d 2021: day07: part 1 2021-12-07 10:31:07 +01:00
Antoine Martin 56a5379a1b 2021: day05: use custom iterator 2021-12-06 16:49:39 +01:00
Antoine Martin 7077559b3a 2021: day06: use a VecDeque for faster rotating 2021-12-06 13:37:22 +01:00
Antoine Martin fceda8ac1b 2021: day06: use rotate_left 2021-12-06 11:53:34 +01:00
Antoine Martin bb9265657b 2021: day06: refacto 2021-12-06 11:34:54 +01:00
Antoine Martin 7cffb7cdc6 2021: day06: bench 2021-12-06 11:25:08 +01:00
Antoine Martin 0e4c121ebd 2021: day06: tests 2021-12-06 11:24:54 +01:00
Antoine Martin bdc5a25d43 2021: day06: part 1 & 2 2021-12-06 11:05:34 +01:00
Antoine Martin 22c2591699 2021: day05: refacto 2021-12-05 17:25:28 +01:00
Antoine Martin 15796e4370 2021: day05: bench 2021-12-05 17:05:48 +01:00
Antoine Martin 1890268bd5 2021: day05: part 2 2021-12-05 17:01:53 +01:00
Antoine Martin 44afc3bbdd 2021: day05: part 1 2021-12-05 16:12:37 +01:00
Antoine Martin a5adc0185e 2021: day03: use Vec::retain
~30% improvement in benchmark!
2021-12-04 15:45:57 +01:00
Antoine Martin 66fa27de0b 2021: day04: use Vec::retain 2021-12-04 15:38:33 +01:00
Antoine Martin 9209659a5a 2021: day04: remove useless Grid field 2021-12-04 15:22:35 +01:00
Antoine Martin 6dccc14046 2021: day04: better Iterator return type 2021-12-04 15:19:34 +01:00
Antoine Martin 45c3426537 2021: day04: do win check when marking number 2021-12-04 15:17:54 +01:00
Antoine Martin 49e957cff5 2021: day04: bench 2021-12-04 14:55:56 +01:00
Antoine Martin fac1c77bf2 2021: day04: part 2 2021-12-04 14:52:26 +01:00
Antoine Martin 1fb5dd9ec4 2021: day04: part 1 2021-12-04 14:39:22 +01:00
Antoine Martin 5c3a631dde 2021: day02: formatting 2021-12-03 17:35:41 +01:00
Antoine Martin ebc5fe5425 2021: day02: use split_once 2021-12-03 17:34:28 +01:00
Antoine Martin d54bddde27 2021: day03: assert that input is safe 2021-12-03 16:15:50 +01:00
Antoine Martin b62fa53ed7 2021: day02: no dirty unwraps 2021-12-03 16:09:14 +01:00
Antoine Martin 2c0bf85249 2021: day03: use lambda for part 2 2021-12-03 15:44:11 +01:00
Antoine Martin 1968c7894f 2021: day03: bench 2021-12-03 15:37:58 +01:00
Antoine Martin 7fb284bfe3 2021: day02: bench 2021-12-03 15:36:54 +01:00
Antoine Martin a776f56915 2021: day03: factorize 2021-12-03 15:33:47 +01:00
Antoine Martin 03746a1dec 2021: day03: part 2 2021-12-03 15:28:06 +01:00
Antoine Martin ee588b7ce7 2021: day03 part 1 2021-12-03 14:45:54 +01:00
Antoine Martin 43c89d10bf 2021: day02: tests 2021-12-02 10:30:09 +01:00
Antoine Martin 0eed53749c 2021: day02: quick solve 2021-12-02 10:25:59 +01:00
Antoine Martin 3aa37aff10 2021: day01: refacto 2021-12-01 10:57:51 +01:00
Antoine Martin 613b240211 2021: day01 bench 2021-12-01 07:39:49 +01:00
Antoine Martin 696c173f93 2021: rm day00 2021-12-01 07:35:34 +01:00
Antoine Martin 0667ca29ad 2021: day01 tests 2021-12-01 07:34:50 +01:00
Antoine Martin 3e991d5ac1 2021: day01 part 1 & part 2 2021-12-01 07:30:10 +01:00
Antoine Martin d5c85d4a17 2021: setup boilerplate 2021-11-25 16:49:52 +01:00