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

Method size

src/expr/src/linear.rs:1034–1044  ·  view source on GitHub ↗

Total expression sizes across all expressions.

(&self)

Source from the content-addressed store, hash-verified

1032
1033 /// Total expression sizes across all expressions.
1034 pub fn size(&self) -> usize {
1035 self.expressions
1036 .iter()
1037 .map(|e| OptimizableExpr::size(e))
1038 .sum::<usize>()
1039 + self
1040 .predicates
1041 .iter()
1042 .map(|(_, e)| OptimizableExpr::size(e))
1043 .sum::<usize>()
1044 }
1045
1046 /// Place each certainly evaluated expression in its own column.
1047 ///

Callers 15

incrementMethod · 0.45
Histogram.ccFile · 0.45
tpchSentenceMethod · 0.45
tpchNounPhraseMethod · 0.45
tpchVerbPhraseMethod · 0.45
randomStateMethod · 0.45
randomNationMethod · 0.45
importCSVMethod · 0.45
peekThreadFunction · 0.45
materializeThreadFunction · 0.45
runFunction · 0.45

Calls 3

sizeFunction · 0.85
mapMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected