Skip to main content

prefetch_lines

Function prefetch_lines 

Source
pub fn prefetch_lines<T>(ptr: *const T, len: usize, max_lines: usize)
Expand description

Hint every cache line that the len values of T at ptr intersect, at most max_lines of them from the first (see prefetch).