Commit graph

173 commits

Author SHA1 Message Date
Antoine Martin 088f203f61 2019: intcode: prepare for day09
- Implement opcode 9
 - Support infinite memory
2019-12-09 16:25:17 +01:00
Antoine Martin 21b9b2d18f 2019: day08: finish 2019-12-08 17:12:26 +01:00
Antoine Martin c7a1ecf280 2019: da04: fix clippy lints 2019-12-08 15:56:08 +01:00
Antoine Martin 2b4173e80e bench: use more samples by default 2019-12-08 02:45:34 +01:00
Antoine Martin 83e99215fb 2019: day07: part 2 2019-12-07 23:04:50 +01:00
Antoine Martin 27f6a072da 2019: day07: part 1 2019-12-07 21:32:06 +01:00
Antoine Martin 72444351a8 2019: intcode: split to own module 2019-12-07 18:21:36 +01:00
Antoine Martin e468ec2952 2019: day05: allow intcode creation with memory 2019-12-07 17:43:15 +01:00
Antoine Martin d44dca92a0 2019: day05: allow for multiple inputs 2019-12-07 17:37:53 +01:00
Antoine Martin 5246fce2ef 2019: day05: refactor intcode 2019-12-07 17:22:52 +01:00
Antoine Martin 7eca1339d7 add benches for 2015 and 2018 2019-12-07 03:02:35 +01:00
Antoine Martin 8355f0dcd3 include debug information in release mode
This is used for profiling
2019-12-07 02:51:23 +01:00
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