Constant rsonpath::input::MAX_BLOCK_SIZE

source ·
pub const MAX_BLOCK_SIZE: usize = 128;
Expand description

Global padding guarantee for all Input implementations. Iterating over blocks of at most this size is guaranteed to produce only full blocks.

Remarks

This is set to 128 and unlikely to change. Widest available SIMD is AVX512, which has 64-byte blocks. The engine processes blocks in pairs, thus 128 is the highest possible request made to a block iterator. For this value to change a new, wider SIMD implementation would have to appear.