Expand description
WASM bindings for Ruvector
This module provides high-performance browser bindings for the Ruvector vector database. Features:
- Full VectorDB API (insert, search, delete, batch operations)
- SIMD acceleration (when available)
- Web Workers support for parallel operations
- IndexedDB persistence
- Zero-copy transfers via transferable objects
Structs§
- JsSearch
Result - JavaScript-compatible SearchResult
- JsVector
Entry - JavaScript-compatible VectorEntry
- VectorDB
- Main VectorDB class for browser usage
- Wasm
Error - WASM-specific error type that can cross the JS boundary
Functions§
- array_
to_ float32_ array - Utility: Convert JavaScript array to Float32Array
- benchmark
- Utility: Measure performance of an operation
- detect_
simd - Detect SIMD support in the current environment
- init
- Initialize panic hook for better error messages in browser console
- version
- Get version information