Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ len
Method
len
nodedb-fts/src/codec/doc_id_map.rs:54–56 ·
view source on GitHub ↗
Number of mapped IDs.
(&self)
Source
from the content-addressed store, hash-verified
52
53
/// Number of mapped IDs.
54
pub fn len(&self) -> usize {
55
self.reverse.len()
56
}
57
58
/// Whether the map is empty.
59
pub fn is_empty(&self) -> bool {
Callers
13
get_or_assign
Method · 0.45
to_bytes
Method · 0.45
from_bytes
Method · 0.45
encode
Function · 0.45
decode
Function · 0.45
pack
Function · 0.45
unpack
Function · 0.45
unpack_sse2
Function · 0.45
sse2_matches_scalar
Function · 0.45
sse2_non_multiple_of_4
Function · 0.45
unpack_simd
Function · 0.45
unpack_scalar
Function · 0.45
Calls
no outgoing calls
Tested by
2
sse2_matches_scalar
Function · 0.36
sse2_non_multiple_of_4
Function · 0.36