0272809c82
ci: fix flags
2021-11-25 16:53:58 +01:00
d5c85d4a17
2021: setup boilerplate
2021-11-25 16:49:52 +01:00
ebc57d58b6
cargo: bump to 2021 edition
2021-11-25 16:34:29 +01:00
e82df94852
clippy: fix lints
2021-11-25 16:23:56 +01:00
e01307eb3c
cargo: fix build by bumping dependencies
2021-11-25 16:18:20 +01:00
db0eb16a53
flake: setup dev flake
2021-11-25 16:14:32 +01:00
fc3f8227c6
ci: switch branch to main
2021-11-25 16:04:31 +01:00
cf3e8038f0
2021: add .lohr file
2021-11-25 15:59:37 +01:00
b9f4079cd5
2020: day20: document methods
2020-12-31 15:33:57 +01:00
27054d60f9
2020: day20: part 2
2020-12-31 15:33:57 +01:00
a4747e0b94
2020: day20: assemble image for part 2
2020-12-31 15:33:57 +01:00
0fbb57f14c
2020: day20: refacto before part 2
2020-12-31 15:33:57 +01:00
44c2536b72
2020: day25: pick smallest loop size
2020-12-25 22:18:16 +01:00
7249045d0c
2020: day25: part 1
2020-12-25 22:18:16 +01:00
fda311a7ee
2020: day20: part 1
2020-12-25 09:21:17 +01:00
0dbae9bffb
2020: day24: part 2
2020-12-24 15:43:37 +01:00
3ebbba3953
2020: day24: part 1
2020-12-24 15:43:37 +01:00
d998cb02aa
2020: day23: use rotate_left from VecDeque
2020-12-24 02:10:25 +01:00
022ca7daab
2020: day23: refacto cup access
2020-12-24 02:10:25 +01:00
e341008746
2020: day23: part 2
2020-12-24 01:19:23 +01:00
9888140072
2020: day23: part 1
2020-12-24 01:19:23 +01:00
002f1a2b04
2020: day22: use Hasher for part 2
2020-12-22 16:05:50 +01:00
2ddd6b2bfc
2020: day22: optimize part 2
...
Use the score of the two decks in the set, instead of copying and
storing copies of both decks.
2020-12-22 16:05:50 +01:00
17bf26ea14
2020: day22: part 2
2020-12-22 14:41:40 +01:00
fe1f56bd7d
2020: day22: part 1
2020-12-22 14:41:40 +01:00
fbd7ae5be2
2020: day21: part 2
2020-12-21 19:27:20 +01:00
33fbe9ce5a
2020: day21: part 1
2020-12-21 19:27:20 +01:00
c0b388dfa0
2020: day19: part 2
2020-12-20 21:05:29 +01:00
fb9a7e3fc9
2020: day19: part 1
2020-12-20 21:05:29 +01:00
b0d3b805a1
2020: day18: bench
2020-12-18 16:06:21 +01:00
e7dda32c74
2020: day18: part 2
2020-12-18 15:51:59 +01:00
426ea00636
2020: day18: part 1
2020-12-18 15:22:42 +01:00
44c1178c72
2020: day17: part 2
2020-12-17 14:51:13 +01:00
e18b6edf80
2020: day17: part 1
2020-12-17 14:51:13 +01:00
8236dbc0c2
enable some additional clippy lints everywhere
2020-12-17 01:59:01 +01:00
e25bc47f8f
fix some pedantic clippy lints that make sense
...
- clippy::redundant-closure-for-method-calls
- clippy::explicit-iter-loop
2020-12-17 01:59:01 +01:00
449cdc0157
ci: check formatting
2020-12-17 01:44:36 +01:00
6bd4142841
ci: no need to run build, we have tests and lints
2020-12-17 01:41:13 +01:00
f1c9f5b228
2020: fix clippy tests warnings
2020-12-17 01:41:13 +01:00
b93db94573
ci: deny clippy warnings
2020-12-17 01:41:13 +01:00
314cf95e1b
ci: run clippy on tests as well
2020-12-17 01:41:13 +01:00
a20557a2e3
2020: day16: part 2
2020-12-17 01:41:08 +01:00
cdc8f62269
2020: day16: part 1
2020-12-16 09:28:59 +01:00
7a2ef2dbe0
ci: run all tests in release mode
...
The reason these were run in debug mode was that it took less time to
build them. However, ignored tests are built in release mode in CI,
because they take too long otherwise. So we might as well just build
all tests once.
2020-12-15 12:16:45 +01:00
8d11c817f3
bench: split to separate package
...
Unfortunately cargo doesn't allow optional dev dependencies (see
rust-lang/cargo#1596 ) so this is the workaround.
Previously, running `cargo test` triggered the build of all dev
dependencies, including criterion, which in turn pulls in a lot of
stuff. Running tests should be faster, hence this change.
2020-12-15 12:16:33 +01:00
99f599e910
ci: build and check all years
2020-12-15 11:24:38 +01:00
7730fdf0ea
ci: setup
2020-12-15 11:24:38 +01:00
ce37c1ee6f
2020: day11: ignore some long running tests
2020-12-15 10:53:30 +01:00
5e5111d80f
add Makefile
...
I can never remember how to run ignored tests, so now I don't have to
2020-12-15 10:50:18 +01:00
ea05aca51c
2020: day15: part 2
2020-12-15 10:48:22 +01:00