risingwave_stream::executor::aggregation::distinct

Function get_many_mut_from_slice

source
unsafe fn get_many_mut_from_slice<'a, T>(
    slice: &'a mut [T],
    indices: &[usize],
) -> Vec<&'a mut T>
Expand description

ยงSafety

There must not be duplicate items in indices.