Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ block_count
Method
block_count
nodedb/src/engine/timeseries/sparse_index/index.rs:148–150 ·
view source on GitHub ↗
Number of blocks.
(&self)
Source
from the content-addressed store, hash-verified
146
147
/// Number of blocks.
148
pub fn block_count(&self) -> usize {
149
self.blocks.len()
150
}
151
152
/// Row range for a specific block.
153
pub fn block_row_range(&self, block_idx: usize) -> (usize, usize) {
Callers
3
apply_sparse_skip
Function · 0.45
large_partition_skip_rate
Function · 0.45
aggregate_partition
Function · 0.45
Calls
1
len
Method · 0.45
Tested by
1
large_partition_skip_rate
Function · 0.36