Skip to main content

packed_len

Function packed_len 

Source
pub fn packed_len<T: Packable>(width: usize) -> usize
Expand description

How many words of T a packed vector of the given width occupies.

Every lane contributes width words, which is the same width * 1024 bits the naive layout would use. The layout costs nothing in space.