pub enum Backend {
Avx512,
Avx2,
Portable,
}Expand description
Which backend a scan actually executed on.
Exposed so benchmarks and the CLI can report the path taken rather than assuming it — on a Zen 4 part the AVX-512 and AVX2 paths perform almost identically, and knowing which ran is the difference between a meaningful and a misleading measurement.
Variants§
Avx512
AVX-512F: 8 x i64 per vector.
Avx2
AVX2: 4 x i64 per vector.
Portable
Scalar / autovectorised fallback.
Implementations§
Trait Implementations§
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
impl UnwindSafe for Backend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more