pub fn patch_chunk<T, I, C>(
decoded_values: &mut [T],
patches_indices: &[I],
patches_values: &[T],
patches_offset: usize,
chunk_offsets_slice: &[C],
chunk_idx: usize,
base_offset: usize,
offset_within_chunk: usize,
)Expand description
Patches a chunk of decoded values.
ยงArguments
decoded_values- Mutable slice of decoded values to be patchedpatches_indices- Indices indicating which positions to patchpatches_values- Values to apply at the patched indicespatches_offset- Offset to subtract from patch indiceschunk_offsets_slice- Slice containing offsets for each chunkchunk_idx- Index of the chunk to patchbase_offset- Base offset from the first chunkoffset_within_chunk- Offset within chunk for sliced patches