3 ms·
I also notice you use FMA in your AVX2 L2 distance calculation. I don't think pg_vector enables that, so SimSIMD might be slightly faster. Also interesting tha
by sakras 3y ago
I also notice you use FMA in your AVX2 L2 distance calculation. I don't think pg_vector enables that, so SimSIMD might be slightly faster.
Also interesting that it beats NumPy/SciPy by so much! I wonder what they're doing..
- menaerus 3y agoNot using SIMD at all as it seems. Thus relying on auto-vectorization of I'm not reading it indirectly. https://github.com/scipy/scipy/blob/main/scipy/spatial/src/distance_impl.h https://github.com/scipy/scipy/blob/main/scipy/spatial/src/d...