Crate ruvector_wasm

Crate ruvector_wasm 

Source
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§

JsSearchResult
JavaScript-compatible SearchResult
JsVectorEntry
JavaScript-compatible VectorEntry
VectorDB
Main VectorDB class for browser usage
WasmError
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