MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / count_present

Method count_present

nodedb/src/engine/graph/olap/columns.rs:164–166  ·  view source on GitHub ↗

Number of non-missing values.

(&self)

Source from the content-addressed store, hash-verified

162
163 /// Number of non-missing values.
164 pub fn count_present(&self) -> usize {
165 self.present.iter().map(|w| w.count_ones() as usize).sum()
166 }
167}
168
169impl Int64Column {

Callers

nothing calls this directly

Calls 4

sumMethod · 0.80
count_onesMethod · 0.80
iterMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected