ashvardanian / SimSIMD

Up to 200x Faster Inner Products and Vector Similarity — for Python, JavaScript, Rust, C, and Swift, supporting f64, f32, f16 real & complex, i8, and binary vectors using SIMD for both x86 AVX2 & AVX-512 and Arm NEON & SVE 📐
https://ashvardanian.com/posts/simsimd-faster-scipy/
Apache License 2.0
806 stars 42 forks source link

Build CPython wrapper to connect with USearch #1

Closed ashvardanian closed 12 months ago

ashvardanian commented 1 year ago

USearch already uses SimSIMD for hardware-accelerated distance functions. That, however, exceptionally complicates backward-compatible compilation and testing. Instead, for Python users, we can wrap SimSIMD functions into CPython capsules to pass into USearch from the usearch.index.Index.