Skip to main content

MAX_SIMD_DEGREE

Constant MAX_SIMD_DEGREE 

Source
pub const MAX_SIMD_DEGREE: usize = blake3::platform::MAX_SIMD_DEGREE /* 16usize */;
Expand description

The maximum number of inputs hashed in parallel with SIMD on the target, depends on the target and enabled features.

Hashing many inputs at once with functions like single_block_hash_many_exact() is the most efficient with a multiple of this number of inputs.