Repository navigation
v0.7.0: SIMD Acceleration + First Community Contribution
🚀 2x+ faster vector operations with WASM SIMD
🎉 First External Contribution!
This release includes our first community contribution from @jsonMartin:
- WASM SIMD128 Hamming distance with 8.75x speedup
- AVX2 native implementation
- 10 comprehensive tests
Thank you for raising the bar! 🙌
Highlights
Performance Improvements
| Metric | v0.6.0 | v0.7.0 | Improvement |
|---|---|---|---|
| Dot Product (768D) | ~500ns | ~200ns | 2.5x |
| L2 Distance (768D) | ~600ns | ~250ns | 2.4x |
| Hamming Distance | ~350ns | ~40ns | 8.75x |
| Search (10k, k=10) | ~2ms | ~1ms | 2x |
Bundle Size
| Package | Size | Notes |
|---|---|---|
| WASM (gzip) | 264 KB | Optimized with wasm-opt -Oz |
| WASM (raw) | 494 KB | Under 500KB target |
Browser Support
- Chrome 91+ ✅
- Firefox 89+ ✅
- Safari 16.4+ (macOS) ✅
- Edge 91+ ✅
- iOS Safari (scalar fallback)
New Features
- SIMD128 enabled by default for WASM
- Interactive Filter Playground with live sandbox
- Enhanced benchmark pages
Installation
```bash
Rust
cargo add edgevec
npm
npm install edgevec@0.7.0
```
Try It Live
Full Changelog
See CHANGELOG.md for complete details.
Contributors:
- @jsonMartin — SIMD Hamming distance (PR #4)