mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-17 02:55:01 +01:00
more optimization
This commit is contained in:
parent
485b24b202
commit
d47ca1f175
3 changed files with 114 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
mod p2faster_hash;
|
||||
mod p2basic;
|
||||
mod p2faster_hash;
|
||||
mod p2less_alloc;
|
||||
|
||||
use helper::Day;
|
||||
|
||||
|
|
@ -16,7 +17,8 @@ helper::define_variants! {
|
|||
}
|
||||
part2 {
|
||||
basic => crate::p2basic::part2;
|
||||
fasher_hash => crate::p2faster_hash::part2;
|
||||
faster_hash => crate::p2faster_hash::part2;
|
||||
less_alloc => crate::p2less_alloc::part2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -71,7 +73,6 @@ fn part1(input: &str) -> u64 {
|
|||
acc
|
||||
}
|
||||
|
||||
|
||||
helper::tests! {
|
||||
day03 Day03;
|
||||
part1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue