MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / declare_optimized

Method declare_optimized

src/expr/src/lib.rs:65–67  ·  view source on GitHub ↗

Declare that the input `expr` is optimized, without actually running it through an optimizer. This can be useful to mark as optimized literal `MirRelationExpr`s that are obviously optimal, without invoking the whole machinery of the optimizer.

(expr: MirRelationExpr)

Source from the content-addressed store, hash-verified

63 /// `MirRelationExpr`s that are obviously optimal, without invoking the whole
64 /// machinery of the optimizer.
65 pub fn declare_optimized(expr: MirRelationExpr) -> OptimizedMirRelationExpr {
66 OptimizedMirRelationExpr(expr)
67 }
68
69 /// Get mutable access to the inner [MirRelationExpr]
70 ///

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected