pub struct ChunkMerger<C> { /* private fields */ }Expand description
A merge-batcher Merger
over chains of Chunks.
merge runs the whole-chain binary merger; extract splits by the seal frontier
using Chunk::extract. The batcher consolidates equal (data, time) updates
but does not advance times — time advancement is advance’s job, handled later in
the trace. Both settle their output, since the batcher’s chains want to be graded.
Trait Implementations§
Source§impl<C> Default for ChunkMerger<C>
impl<C> Default for ChunkMerger<C>
Source§impl<C> Merger for ChunkMerger<C>
impl<C> Merger for ChunkMerger<C>
Source§fn merge(
&mut self,
list1: Vec<C>,
list2: Vec<C>,
output: &mut Vec<C>,
_stash: &mut Vec<C>,
)
fn merge( &mut self, list1: Vec<C>, list2: Vec<C>, output: &mut Vec<C>, _stash: &mut Vec<C>, )
Merge chains into an output chain.
Auto Trait Implementations§
impl<C> Freeze for ChunkMerger<C>
impl<C> RefUnwindSafe for ChunkMerger<C>where
C: RefUnwindSafe,
impl<C> Send for ChunkMerger<C>where
C: Send,
impl<C> Sync for ChunkMerger<C>where
C: Sync,
impl<C> Unpin for ChunkMerger<C>where
C: Unpin,
impl<C> UnsafeUnpin for ChunkMerger<C>
impl<C> UnwindSafe for ChunkMerger<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.