Commit graph

211 commits

Author SHA1 Message Date
Antoine Martin d621d80bac 2019: day04: parse input once 2019-12-07 02:15:21 +01:00
Antoine Martin 3fd8cd924d 2019: day04: improve performance
Reuse allocated memory for digits
2019-12-07 02:14:51 +01:00
Antoine Martin 6f26cf5860 2019: day06: fix clippy lints 2019-12-07 00:31:10 +01:00
Antoine Martin 3a6e9d58b6 2019: day03: 100x speedup 2019-12-07 00:29:42 +01:00
Antoine Martin 989fc854d9 2019: day03: parse input only once 2019-12-06 19:47:25 +01:00
Antoine Martin 0c98050bc0 2019: add benchmarks 2019-12-06 19:07:57 +01:00
Antoine Martin 4bff689da0 aoc: stop printing inside run functions
This will make benching implementations easier
2019-12-06 19:06:49 +01:00
Antoine Martin 6f06d5d7ca 2019: day06: use a HashSet instead 2019-12-06 12:00:37 +01:00
Antoine Martin 0fa59d675b 2019: day06: part 2 2019-12-06 11:45:15 +01:00
Antoine Martin 1f364cd20f 2019: day06: part 1 2019-12-06 11:44:45 +01:00
Antoine Martin 127cf3f7c4 2015: day06: use Iterator on cells 2019-12-05 20:23:42 +01:00
Antoine Martin c99426fd39 2015: day06 2019-12-05 19:13:21 +01:00
Antoine Martin fb0bb469ee fix clippy lints 2019-12-05 16:35:39 +01:00
Antoine Martin 6202a3b1fd 2019: day05: part 2 2019-12-05 16:12:50 +01:00
Antoine Martin 6e1c3c989f 2019: day05: part 1 2019-12-05 15:45:19 +01:00
Antoine Martin 31d61e0e7e 2018: day01: group up tests 2019-12-05 00:03:26 +01:00
Antoine Martin f0f872c199 2019: day04: part 2 2019-12-04 23:40:12 +01:00
Antoine Martin 69000f9254 2019: day04: part 1 2019-12-04 23:18:01 +01:00
Antoine Martin c2297ba849 2015: day05: part 2 2019-12-03 17:00:25 +01:00
Antoine Martin b023546c8c 2015: day05: part 1 2019-12-03 16:25:23 +01:00
Antoine Martin a5911369e5 2015: day04: part 2 2019-12-03 15:40:50 +01:00
Antoine Martin 33b89f6269 2015: day04: optimize string allocations 2019-12-03 15:22:25 +01:00
Antoine Martin ce83c56841 2015: day04: part 1 2019-12-03 15:06:28 +01:00
Antoine Martin a81ad7c114 2019: day03: part 2 2019-12-03 10:45:37 +01:00
Antoine Martin a4f54fec18 2019: day03: refacto part 1 2019-12-03 10:22:56 +01:00
Antoine Martin 0662208914 2019: day03: part 1 2019-12-03 09:52:39 +01:00
Antoine Martin 3e1f2f68ba 2015: day03: finish 2019-12-02 17:25:42 +01:00
Antoine Martin ca1952819f 2015: day02: finish 2019-12-02 17:01:10 +01:00
Antoine Martin 5bee7a0ce7 aoc: refactor main() function 2019-12-02 17:01:10 +01:00
Antoine Martin c4d9f6c2db 2019: removed unused types from lib.rs 2019-12-02 17:00:56 +01:00
Antoine Martin 7801ac8046 use default member in workspace 2019-12-02 16:02:55 +01:00
Antoine Martin 9b27a57f0b 2019: day02: part 2 2019-12-02 12:14:40 +01:00
Antoine Martin c59cd75be3 2019: day02: part 1 2019-12-02 12:05:30 +01:00
Antoine Martin 9903508129 don't panic in main 2019-12-02 11:48:24 +01:00
Antoine Martin 64410f0042 use aoc crate for common stuff 2019-12-01 22:22:12 +01:00
Antoine Martin 907e883d48 fix err! macro 2019-12-01 21:25:43 +01:00
Antoine Martin c420ed9e8b 2015: day01: finish 2019-12-01 21:16:15 +01:00
Antoine Martin dd4e610324 2019: day01: improve sub overflow handling 2019-12-01 16:36:46 +01:00
Antoine Martin 5e2fb25c94 2019: day01: part 2 2019-12-01 16:21:53 +01:00
Antoine Martin 22fcfdae4f 2019: day01: part 1 2019-12-01 16:03:34 +01:00
Antoine Martin f743d60f85 2018: day05: fix clippy warnings 2019-11-25 19:07:26 +01:00
Antoine Martin a5caa00dbf 2018: main: display correct line numbers 2019-11-25 19:05:08 +01:00
Antoine Martin 9278a5472a 2018: day04: part 1 2019-11-25 19:04:48 +01:00
Antoine Martin cef2fba255 2018: day05: part 2 2019-11-22 17:45:58 +01:00
Antoine Martin af39de85b0 2018: day05: remove unneeded Result 2019-11-22 17:30:47 +01:00
Antoine Martin 7ca4504295 2018: day05: move logic to collapse fn 2019-11-22 17:26:02 +01:00
Antoine Martin d17e26540f 2018: day05: part 1 2019-11-22 17:14:49 +01:00
Antoine Martin a6ff14b260 2018: day03: implement FromStr instead of fn parse 2019-11-18 14:27:45 +01:00
Antoine Martin 8de2538d0e 2018: fix some warnings 2019-11-18 13:56:50 +01:00
Antoine Martin f23ec6ce90 2018: day03: simplify error 2019-11-17 22:00:05 +01:00