properly speedup part2

This commit is contained in:
nora 2023-12-04 20:35:59 +01:00
parent 672f2a3674
commit 93af372574
4 changed files with 94 additions and 32 deletions

View file

@ -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) };