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

Method sum

src/transform/src/analysis.rs:1563–1565  ·  view source on GitHub ↗
(iter: I)

Source from the content-addressed store, hash-verified

1561
1562 impl std::iter::Sum for CardinalityEstimate {
1563 fn sum<I: Iterator<Item = Self>>(iter: I) -> Self {
1564 iter.fold(CardinalityEstimate::from(0.0), |acc, elt| acc + elt)
1565 }
1566 }
1567
1568 impl std::iter::Product for CardinalityEstimate {

Callers 15

backpressureFunction · 0.80
finish_innerMethod · 0.80
total_columnsMethod · 0.80
newMethod · 0.80
countMethod · 0.80
bit_count_bytesFunction · 0.80

Calls 1

foldMethod · 0.80

Tested by 4

consolidated_sizeFunction · 0.64
test_mcp_metricsFunction · 0.64