mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-16 18:45:02 +01:00
properly speedup part2
This commit is contained in:
parent
672f2a3674
commit
93af372574
4 changed files with 94 additions and 32 deletions
|
|
@ -20,7 +20,7 @@ helper::define_variants! {
|
|||
basic => crate::part1;
|
||||
}
|
||||
part2 {
|
||||
naive => crate::naive::part2;
|
||||
naive => crate::naive::part2, sample_count=1000;
|
||||
zero_alloc => crate::zero_alloc::part2;
|
||||
branchless => |i| unsafe { crate::branchless::part2(i) };
|
||||
no_lines => |i| unsafe { crate::no_lines::part2(i) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue