Function estimate_memory
Source pub fn estimate_memory(expr: &TLExpr, ctx: &CompilerContext) -> MemoryEstimate
Expand description
Estimate memory usage for an expression.
This function analyzes the expression and estimates memory usage
based on domain sizes in the compiler context.
§Arguments
expr - The expression to analyze
ctx - The compiler context containing domain sizes
§Returns
A memory estimate