summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Greg Burri [Wed, 14 Dec 2022 10:14:27 +0000 (11:14 +0100)]
Time formatting.
Display more digits when formatting time in ms and s
Greg Burri [Wed, 14 Dec 2022 10:06:20 +0000 (11:06 +0100)]
Replace HashSet by an array for a 10x speed up
Greg Burri [Wed, 14 Dec 2022 09:36:47 +0000 (10:36 +0100)]
Day 14
Greg Burri [Tue, 13 Dec 2022 17:54:45 +0000 (18:54 +0100)]
Simplify
Greg Burri [Tue, 13 Dec 2022 15:39:13 +0000 (16:39 +0100)]
Simplify
Inspired by https://github.com/AjaxGb/advent-2022/blob/master/src/day13/main.rs
Greg Burri [Tue, 13 Dec 2022 15:15:41 +0000 (16:15 +0100)]
Clean up
Greg Burri [Tue, 13 Dec 2022 15:13:26 +0000 (16:13 +0100)]
Use Clap for arguments parsing
Add a -p for processing all days in parallel
Greg Burri [Tue, 13 Dec 2022 15:12:39 +0000 (16:12 +0100)]
Try to speed up day 5
Greg Burri [Tue, 13 Dec 2022 15:12:28 +0000 (16:12 +0100)]
Day 13
Greg Burri [Mon, 12 Dec 2022 23:03:29 +0000 (00:03 +0100)]
Reduce time to do day 11:
~13ms -> ~8ms
Greg Burri [Mon, 12 Dec 2022 10:49:02 +0000 (11:49 +0100)]
Better formatting (using rustfmt)
Greg Burri [Mon, 12 Dec 2022 10:04:45 +0000 (11:04 +0100)]
little simplification
Greg Burri [Mon, 12 Dec 2022 09:47:58 +0000 (10:47 +0100)]
Don't need to push visited position twice...
Greg Burri [Mon, 12 Dec 2022 09:30:23 +0000 (10:30 +0100)]
Day 12
Greg Burri [Sun, 11 Dec 2022 12:21:42 +0000 (13:21 +0100)]
Simplification
Greg Burri [Sun, 11 Dec 2022 11:25:32 +0000 (12:25 +0100)]
Day 11
Greg Burri [Sat, 10 Dec 2022 09:36:57 +0000 (10:36 +0100)]
Day 10
Greg Burri [Fri, 9 Dec 2022 15:39:58 +0000 (16:39 +0100)]
Simplification
Greg Burri [Fri, 9 Dec 2022 13:32:17 +0000 (14:32 +0100)]
A bit more readable
Greg Burri [Fri, 9 Dec 2022 13:26:43 +0000 (14:26 +0100)]
Simplification
Greg Burri [Fri, 9 Dec 2022 13:10:28 +0000 (14:10 +0100)]
Day[9]
Greg Burri [Thu, 8 Dec 2022 20:02:15 +0000 (21:02 +0100)]
Day 8
Greg Burri [Wed, 7 Dec 2022 23:04:06 +0000 (00:04 +0100)]
Clean up: factorize input test
Greg Burri [Wed, 7 Dec 2022 22:38:59 +0000 (23:38 +0100)]
Day 7
Greg Burri [Tue, 6 Dec 2022 12:29:37 +0000 (13:29 +0100)]
Day 6
Greg Burri [Mon, 5 Dec 2022 15:13:51 +0000 (16:13 +0100)]
Simplify and improve performance
Greg Burri [Mon, 5 Dec 2022 11:21:00 +0000 (12:21 +0100)]
Simplify 'day05::get_top_as_string'
Greg Burri [Mon, 5 Dec 2022 11:09:28 +0000 (12:09 +0100)]
Remove useless function
Greg Burri [Mon, 5 Dec 2022 11:09:19 +0000 (12:09 +0100)]
Day 5
Greg Burri [Sun, 4 Dec 2022 18:02:40 +0000 (19:02 +0100)]
Day 4
Greg Burri [Sat, 3 Dec 2022 18:18:15 +0000 (19:18 +0100)]
Remove useless imports
Greg Burri [Sat, 3 Dec 2022 18:15:15 +0000 (19:15 +0100)]
Add a parsing function to simplify the process
Greg Burri [Sat, 3 Dec 2022 16:14:53 +0000 (17:14 +0100)]
Remove useless import
Greg Burri [Sat, 3 Dec 2022 16:05:01 +0000 (17:05 +0100)]
Day 3
Greg Burri [Fri, 2 Dec 2022 20:32:15 +0000 (21:32 +0100)]
Day 2
Greg Burri [Thu, 1 Dec 2022 23:31:53 +0000 (00:31 +0100)]
Use Reverse + k_smallest (code simplification)
Greg Burri [Thu, 1 Dec 2022 22:41:18 +0000 (23:41 +0100)]
Day 1