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 Swift #203

Open ashvardanian opened 1 month 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 Swift SDK.

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