pub struct Prepared { /* private fields */ }Expand description
A plan with every operator’s code prepared: one per program, shared by every subscription.
The split between this and Engine is the difference between a plan and an arrangement, and
it is load-bearing for §5.3’s fanout. Preparing an operator means asking the backend to turn
Core into something callable, which a compiling backend does expensively and even a
tree-walker does by cloning the expression; doing it per subscriber cost about 90 KB of a
subscription that then held 60 entries. A thousand subscribers share one of these.
Implementations§
Auto Trait Implementations§
impl Freeze for Prepared
impl !RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl !UnwindSafe for Prepared
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