Skip to main content

get_simd

Function get_simd 

Source
pub fn get_simd() -> &'static dyn SimdOps
Expand description

Get the best SIMD implementation for the current CPU.

Returns a reference to the optimal SIMD implementation based on detected CPU capabilities. This provides dynamic dispatch to the fastest available implementation.

ยงReturns

A static reference to a SimdOps implementation.