mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-17 02:55:01 +01:00
optimize parsing
This commit is contained in:
parent
c078d27255
commit
327a57a5ea
2 changed files with 70 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
mod less_alloc;
|
||||
mod number_parsing;
|
||||
|
||||
use std::ops::Add;
|
||||
|
||||
|
|
@ -15,10 +16,12 @@ helper::define_variants! {
|
|||
part1 {
|
||||
basic => crate::part1;
|
||||
less_alloc => crate::less_alloc::part1;
|
||||
number_parsing => crate::number_parsing::part1;
|
||||
}
|
||||
part2 {
|
||||
basic => crate::part2;
|
||||
less_alloc => crate::less_alloc::part2;
|
||||
number_parsing => crate::number_parsing::part2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue