Skip to content

v3.4.0: Hardware & NLP Scaling (SIMD Auto-Dispatch, Rayon Multicore & Multi-Lingual NLP)

Choose a tag to compare

@Sam-CodesAI Sam-CodesAI released this 24 Nov 05:32
· 5 commits to main since this release

सूत्र DB (SutraDB) v3.4.0: Hardware & NLP Scaling Edition

🚀 Hardware Scaling & Multicore Vector Acceleration

  • Dynamic SIMD Auto-Dispatch: Runtime CPU feature detection with automatic dispatch across AVX-512, AVX2, and ARM NEON instruction sets, with graceful scalar fallbacks.
  • Multicore Rayon Acceleration: GIL-free multicore parallel processing via Rayon iterators for batch vector distances and unindexed candidate scoring.
  • Python Bindings: Exposed detect_simd() and batch_vector_distances() directly to Python.

🌐 Linguistic NLP Analyzer Pipeline

  • Algorithmic Porter Stemmer: Zero external C dependencies; full English Porter stemming integrated into the Rust BM25 engine and Python SDK.
  • Multi-Lingual Suffix Stemmers: Built-in rule-based suffix stemming for Spanish, French, and German.
  • Zero-Allocation Multi-Lingual Stopwords: Pre-compiled static hash sets for English, Spanish, French, and German stopword pruning.
  • CJK Tokenization: Bigram sliding window tokenization for Chinese, Japanese, and Korean text.
  • Code & Identifier Splitting: Intelligent sub-token parsing for camelCase and snake_case programming identifiers (getUserProfile -> ['get', 'user', 'profile']).
  • Flexible Configuration: AnalyzerConfig supported in both Rust NativeCollection::with_analyzer and Python Collection(analyzer=...).

🧪 Test Suite

  • 97 Passing Tests (28 Rust + 69 Python): 100% pass rate with zero warnings.