pub struct StreamFusion {
pub min_iterations: u64,
pub fuse_nested: bool,
}Expand description
Stream fusion optimization
This is RipTide’s key optimization that achieves 27-52% operator reduction by fusing loop induction variable computations into single Stream operators.
Pattern detected:
Constant(start) --> Add --> Compare --> Steer
^ |
| v
Carry <--- (loop body)Becomes:
Stream(start, step, bound) --> (loop body)Fields§
§min_iterations: u64Minimum loop iterations to consider for fusion
fuse_nested: boolWhether to fuse nested loops
Implementations§
Source§impl StreamFusion
impl StreamFusion
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamFusion
impl RefUnwindSafe for StreamFusion
impl Send for StreamFusion
impl Sync for StreamFusion
impl Unpin for StreamFusion
impl UnwindSafe for StreamFusion
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