-
a5439062a4
day3: performance - avoid converting &[u8] to &str
ktims
2024-12-12 17:38:42 -08:00
-
3658183deb
day7: performance. DFS with pruning.
ktims
2024-12-12 16:02:13 -08:00
-
38cba37b06
day5: perf: switch to sort-based implementation
ktims
2024-12-12 14:50:00 -08:00
-
6022d2cc39
multiple: Use FxHashMap for s p e e d
ktims
2024-12-12 14:01:04 -08:00
-
447ff5c62c
grid: improve ergonomics with more trait impls and other improvements
ktims
2024-12-12 02:14:29 -08:00
-
c213bbbc27
day12: optimization and cleanup
ktims
2024-12-12 01:24:14 -08:00
-
a56fc933c9
day12: complete solution
ktims
2024-12-11 22:27:59 -08:00
-
31eb500832
day7: slight performance improvement from skipping ThreadLoacls
ktims
2024-12-11 19:40:45 -08:00
-
4c14c6092e
bugfix: count off by one, thought ^ was left in the map, but it gets replaced by X
ktims
2024-12-11 18:59:58 -08:00
-
de535303d4
day11: don't use aoc_generator
ktims
2024-12-11 18:43:57 -08:00
-
50b6d045e7
multiple: genericize Grid over coordinate type, parallelism for day 11
ktims
2024-12-11 18:43:13 -08:00
-
d2defae8a2
chore: make day modules public
ktims
2024-12-11 18:40:53 -08:00
-
cd8900d936
chore: enable LTO for release builds
ktims
2024-12-11 18:40:29 -08:00
-
11b29a4d57
chore: refactor for cargo-aoc / codspeed
ktims
2024-12-11 15:45:52 -08:00
-
48c96ce7ea
day24: cheat solution used for part 2 submission
ktims
2024-12-11 09:54:10 -08:00
-
3bfde9fd9b
day11: some cleanup, slight performance
ktims
2024-12-11 01:20:33 -08:00
-
2e239681ce
day11: performance
ktims
2024-12-11 00:55:47 -08:00
-
a7354b6ed7
day11: part 2 solution
ktims
2024-12-10 23:34:42 -08:00
-
462918b382
day11: part 1 solution
ktims
2024-12-10 21:47:37 -08:00
-
8af11a6092
day10: performance. slight gain from memoizing visited positions in p1.
ktims
2024-12-10 17:07:00 -08:00
-
d9d55b069f
day10: optimization
ktims
2024-12-10 16:18:10 -08:00
-
0716dde8b1
day10: complete solution
ktims
2024-12-09 21:59:39 -08:00
-
206c1fca85
day9: optimize part 2
ktims
2024-12-09 00:23:40 -08:00
-
f7cf4f1e9f
day9: optimize part 1
ktims
2024-12-08 23:58:47 -08:00
-
b08c8fbd80
day9: use part 2 'inodes' table to speed up part 1
ktims
2024-12-08 23:51:51 -08:00
-
2bc751dd0d
day9: complete solution
ktims
2024-12-08 23:34:15 -08:00
-
a6ea5b4155
day9: second rewrite, still failing
ktims
2024-12-08 22:57:20 -08:00
-
3a3c3c9ab6
day6: complete solution
ktims
2024-12-08 18:54:44 -08:00
-
c737035fe0
repo setup
ktims
2024-12-08 18:54:25 -08:00
-
-
622877843e
day8: refactor and cleanup
ktims
2024-12-07 22:49:57 -08:00
-
47e40942e2
day8: complete solution
ktims
2024-12-07 21:43:56 -08:00
-
3e0bc0d5cc
day7: parallel solution, < 100ms
ktims
2024-12-06 22:52:00 -08:00
-
868c3e56fc
day7: complete solution
ktims
2024-12-06 21:40:25 -08:00
-
fee37aebd0
day6: further performance improvement, ~55ms total runtime
ktims
2024-12-06 17:05:36 -08:00
-
b1918bbebf
day6: performance - only check obstacles on the original path
ktims
2024-12-06 10:59:43 -08:00
-
1cd535c2aa
chore: clippies
ktims
2024-12-06 10:52:31 -08:00
-
1dd3ce5862
day6: performance improvement
ktims
2024-12-06 10:40:28 -08:00
-
145d779e83
day6: complete solution + grid lib (used in solution)
ktims
2024-12-05 22:41:47 -08:00
-
49c37800a0
day5: complete solution
ktims
2024-12-04 22:41:33 -08:00
-
e2cd0fe9cc
day3: code format
ktims
2024-12-04 16:41:39 -08:00
-
6a619d756f
gitignore
ktims
2024-12-04 16:41:16 -08:00
-
dc67b38420
day3: disable unicode matching, don't recompile RE for every iteration
ktims
2024-12-04 16:39:57 -08:00
-
e5faee3470
day4: do a lot fewer allocations, performance improvement x10
ktims
2024-12-03 22:07:01 -08:00
-
a81904f2eb
day4: complete solution
ktims
2024-12-03 22:02:49 -08:00
-
ec55b07c61
boilerplate: fix it
ktims
2024-12-02 21:22:05 -08:00
-
7a7fb4d02a
day3: full solution
ktims
2024-12-02 21:18:37 -08:00
-
b24593a469
day2: performance and adopt new duration print
ktims
2024-12-01 23:02:00 -08:00
-
ec2651c3e4
boilerplate: improve duration printing
ktims
2024-12-01 21:32:17 -08:00
-
33c0c876c3
day2: full solution
ktims
2024-12-01 21:31:29 -08:00
-
968d795720
day 1: cleanup and refactor
ktims
2024-11-30 22:03:19 -08:00
-
8cab780ff3
day 1: problem 2 solution
ktims
2024-11-30 21:46:10 -08:00
-
892d59f21b
day 1: problem 1 solution
ktims
2024-11-30 21:38:31 -08:00
-
76cacf4704
gitignore
ktims
2024-11-30 21:37:02 -08:00
-
fd24918c7a
2024 AoC is here!
ktims
2024-11-30 21:36:05 -08:00
-
342f4c1883
day25: problem 1 solution - cheated with dot
ktims
2023-12-24 22:33:20 -08:00
-
881d0b08ad
day24: problem 1 solution
ktims
2023-12-23 22:54:21 -08:00
-
c1eb7761e3
day23: problem 2 solution
ktims
2023-12-23 02:54:07 -08:00
-
98456ed98d
day23: problem 1 solution
ktims
2023-12-22 22:33:34 -08:00
-
d6d4c0d056
gitignore
ktims
2023-12-22 20:58:14 -08:00
-
3bb3b3d6b6
day22: cleanup & nice output
ktims
2023-12-22 04:19:58 -08:00
-
dd91259fe2
day22: problem 2 solution.
ktims
2023-12-22 03:45:29 -08:00
-
8495969877
day22: problem 1 solution
ktims
2023-12-22 01:32:08 -08:00
-
190fc92842
day21: problem 2 solution
ktims
2023-12-21 03:17:11 -08:00
-
eb6c1f42cd
day 21: problem 1 solution
ktims
2023-12-21 00:33:28 -08:00
-
512b05f624
day20: problem 2 solution - needed a hint
ktims
2023-12-20 01:48:09 -08:00
-
877101f9a2
day20: problem 1 solution
ktims
2023-12-20 00:13:23 -08:00
-
cdfecf821c
day19: refactoring and cleanup
ktims
2023-12-19 02:01:47 -08:00
-
2b921b5fb2
day19: problem 2 solution
ktims
2023-12-19 01:01:36 -08:00
-
a5dea64b32
day19: problem 1 solution
ktims
2023-12-18 22:06:03 -08:00
-
8200c1a8cf
root: add .rustfmt.toml
ktims
2023-12-18 02:04:22 -08:00
-
8d178ddfc6
day18: formatting and cleanup
ktims
2023-12-18 02:03:48 -08:00
-
3bc073f9b8
day18: problem 2 solution
ktims
2023-12-18 01:54:31 -08:00
-
0a9fa8e32f
day18: problem 1 solution
ktims
2023-12-17 23:04:56 -08:00
-
e65c17c8e6
day17: don't revisit the start position
ktims
2023-12-17 20:55:42 -08:00
-
3ee26cefe5
day17: super obvious code cleanups, more to do
ktims
2023-12-17 15:18:22 -08:00
-
9e37b2ce66
day17: add heatmap visualization of final path
ktims
2023-12-17 15:11:43 -08:00
-
d422c9b84e
day17: problem 2 - an ugly mess but finally working
ktims
2023-12-17 05:57:30 -08:00
-
5efa9853ca
day17: problem 1 solution - a messy one!
ktims
2023-12-17 04:38:35 -08:00
-
da25b73eca
day16: use tail recursion unstead of passing mutable state
ktims
2023-12-16 11:07:39 -08:00
-
842def62dc
day16: back to elegant recursion now that we track beams
ktims
2023-12-15 23:54:22 -08:00
-
427a0c766b
day16: much cleaner, nicely factored solution, and much faster
ktims
2023-12-15 23:42:43 -08:00
-
332620db0f
day16: problem 2 solution
ktims
2023-12-15 22:39:03 -08:00
-
a8ec929818
day16: problem 1 solution
ktims
2023-12-15 22:18:50 -08:00
-
f04078fbd7
boilerplate: remove unnecessary Duration import
ktims
2023-12-15 20:56:13 -08:00
-
498c96eaeb
day5: reimplement in a sane, fast way
ktims
2023-12-15 18:10:29 -08:00
-
84bcbd550b
day5: add timing
ktims
2023-12-15 18:09:49 -08:00
-
e12c0134b0
day15: functional hash implementation using fold()
ktims
2023-12-14 23:33:48 -08:00
-
eac460417c
day15: problem 1 & 2 solutions
ktims
2023-12-14 22:07:49 -08:00
-
24c534ff88
day14: itertools is not used anymore
Keenan Tims
2023-12-14 15:43:11 -08:00
-
4f1f838d62
day14: simple Vec lookup is faster than HashMap since the cycle is short
Keenan Tims
2023-12-14 15:41:34 -08:00
-
ca3254e1e1
day14: translation-based minimal copy implementation
Keenan Tims
2023-12-14 14:19:58 -08:00
-
78fb884c03
day14: some silly and not super effective performance optimizations
ktims
2023-12-14 01:57:06 -08:00
-
7926475a56
day14: refactor and cleanup duplicate code
ktims
2023-12-14 00:06:24 -08:00
-
e062ef5078
day14 problem 2 solution
ktims
2023-12-13 23:29:03 -08:00
-
11a7837400
day14: problem 1 solution
ktims
2023-12-13 22:12:50 -08:00
-
5666aee5f2
day13: problem 2 solution
ktims
2023-12-12 22:20:54 -08:00
-
f12e99c1f4
day13: problem 1 solution
ktims
2023-12-12 22:05:32 -08:00
-
c797e874d5
boilerplate: add timing
ktims
2023-12-12 02:24:24 -08:00
-
a431c4b75f
day12: problem 2 solution
ktims
2023-12-12 02:20:53 -08:00
-
20e2a9f7be
day12: problem 1 solution
ktims
2023-12-11 23:12:06 -08:00