MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / reconstruct_num_rows

Method reconstruct_num_rows

crates/table/src/table.rs:1663–1665  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1661
1662 #[cfg(test)]
1663 fn reconstruct_num_rows(&self) -> u64 {
1664 self.pages().iter().map(|page| page.reconstruct_num_rows() as u64).sum()
1665 }
1666
1667 /// Returns the number of bytes used by rows resident in this table.
1668 ///

Callers

nothing calls this directly

Calls 4

pagesMethod · 0.80
iterMethod · 0.65
sumMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected