Hsdlib is a small C library for fast vector distance and similarity calculations.<p>At the moment, it supports:<p><pre><code> - Euclidean, Manhattan, and Hamming distances
- Dot product, cosine, and Jaccard similarities
</code></pre>
Hsdlib uses SIMD acceleration (AVX, AVX2, AVX512, NEON, and SVE instructions) to speed things up.<p>GitHub link: <a href="https://github.com/habedi/hsdlib">https://github.com/habedi/hsdlib</a>