Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ packed_bits_of
Function
packed_bits_of
nodedb-vector/src/quantize/pq_codec.rs:47–49 ·
view source on GitHub ↗
(q: &PqQuantized)
Source
from the content-addressed store, hash-verified
45
46
#[inline]
47
fn packed_bits_of(q: &PqQuantized) -> &[u8] {
48
q.0.packed_bits()
49
}
50
51
// ── VectorCodec impl ──────────────────────────────────────────────────────────
52
Callers
2
fast_symmetric_distance
Method · 0.70
exact_asymmetric_distance
Method · 0.70
Calls
1
packed_bits
Method · 0.80
Tested by
no test coverage detected