You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mmap view: serve an index from disk without loading into RAM #25
usearch supports memory-mapped view mode (serve the index straight from disk). vecq's single-file format v1.1 is already view-friendly: fixed 24-byte header → f16 scales → nibble codes, all position-fixed once count/dim are known. Adopting this helps the edge story (multi-GB address spaces, cold start without full read) and large read-only deployments.
Design
New read-only type borrowing an mmap:
let map = unsafe{ memmap2::Mmap::map(&file)? };// memmap2 = dev-visible dep only in vecq-mmap helper crate OR document the patternlet view = VecqView::from_bytes(&map)?;// zero-copy: codes/scales are slices into the map
view.search(&q, k)// same scoring kernels over borrowed slices
Activity
feat(core): zero-copy VecqView — serve an index straight from bytes (#25
docs: README overhaul for the width/view era + stale-claim sweep (#44)
chore: release v0.3.0 to main (#46)
chore: release v0.3.1 to main (#55)