Antoine Martin
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
Antoine Martin
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
Antoine Martin
885081d3fe
2015: switch to anyhow
2020-12-14 20:35:10 +01:00
Antoine Martin
2b4173e80e
bench: use more samples by default
2019-12-08 02:45:34 +01:00
Antoine Martin
7eca1339d7
add benches for 2015 and 2018
2019-12-07 03:02:35 +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
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
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
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
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