pub fn apply_participation(
base: &mut Vec<u8>,
delta: &ArchivedParticipationDiff,
)Expand description
Applies a participation delta in-place.
After successful execution, base is identical to the target participation
vector used to produce delta.
This function performs a single linear pass over the encoded delta. Additional storage is allocated only when the reconstructed vector grows beyond its current length.
ยงComplexity
O(m)
where m is the number of encoded modifications plus any appended values.