Skip to main content

partial_words

Function partial_words 

Source
fn partial_words(data: &[u8]) -> (u64, u64)
Expand description

Packs a final partial block of 1..=15 bytes into two zero-padded little-endian words, using overlapping loads. Building it in registers avoids copying through a stack buffer, whose narrow stores the following 16-byte load cannot forward from.