ashvardanian / SimSIMD

Up to 200x Faster Dot Products & Similarity Metrics — for Python, Rust, C, JS, and Swift, supporting f64, f32, f16 real & complex, i8, and bit vectors using SIMD for both AVX2, AVX-512, NEON, SVE, & SVE2 📐
https://ashvardanian.com/posts/simsimd-faster-scipy/
Apache License 2.0
988 stars 59 forks source link

Expose L2 (Euclidean) distance to JavaScript #204

Closed ashvardanian closed 1 week ago

ashvardanian commented 1 month ago

Describe what you are looking for

The 79300f45bdae1088640a1eb925a93be769d7c3ec commit exposes kernels for the L2 Euclidean metric, extending beyond the previously available L2sq - the squared Euclidean distance. It may be useful to expose the new interface in the NPM package.

Can you contribute to the implementation?

Is your feature request specific to a certain interface?

Other bindings

Contact Details

No response

Is there an existing issue for this?

Code of Conduct

GoWind commented 1 week ago

Hi @ashvardanian , I would like to learn and contribute to SimSIMD ! Can I take a shot at this issue and raise a PR ?

ashvardanian commented 1 week ago

Sure, @GoWind, thanks!