Repository navigation
v2: SciPy Distances 3-200x Faster
The second release of SimSIMD introduces several enhancements, including design optimizations in both SIMD-accelerated implementations and high-level wrappers.
- The Python interface has been refined to closely resemble the
spatial.distancemodule from SciPy. - The newly included Python Linux wheels leverage OpenMP for parallelization, boosting performance.
- Enhanced flexibility: all distance functions can now handle arrays of arbitrary lengths.
- Arm capabilities introspection has been transitioned to Assembly for improved efficiency.
The result: you can now replace scipy.spatial.distance.cosine, scipy.spatial.distance.sqeuclidean, numpy.inner, as well as scipy.spatial.distance.cdist with the 3-200x faster SIMD-accelerated SimSIMD 🥳.