Skip to content

Version 0.1.2

Choose a tag to compare

@doubleinfinity doubleinfinity released this 16 Jul 15:18
· 196 commits to main since this release

Added

  • Intelligent Batch Search: Automatic batch processing for multiple query vectors
    • Transparent optimization: users get performance gains without API changes
    • Smart strategy selection: sequential processing for ≤5 queries, parallel for 6+ queries
    • Multiple input format support:
      • List[List[f32]] - Native Python lists of vectors
      • NumPy 2D arrays (N, dims) - Automatic batch detection
      • NumPy 1D arrays (dims,) - Single vector fallback
      • List[f32] - Traditional single vector (unchanged)
  • Added comprehensive batch search test suite

Changed

  • Optimized GIL release patterns for better concurrent performance
  • Reduced lock contention through intelligent batching strategies