Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ min_fill
Method
min_fill
nodedb-spatial/src/rtree/node.rs:110–116 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
108
}
109
110
pub fn min_fill(&self) -> usize {
111
if self.is_leaf() {
112
MIN_FILL_LEAF
113
} else {
114
MIN_FILL_INTERNAL
115
}
116
}
117
118
pub fn is_underflow(&self) -> bool {
119
self.len() < self.min_fill()
Callers
1
is_underflow
Method · 0.80
Calls
1
is_leaf
Method · 0.80
Tested by
no test coverage detected