SimSIMD

Distance library

A SIMD-based math library providing optimized kernels for various distance and similarity metrics

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 📐

GitHub

1k stars
20 watching
64 forks
Language: C
last commit: about 2 months ago
Linked from 2 awesome lists

arm-neonarm-sveassemblyavx2avx512bfloat16blasblas-librariesdistance-calculationfloat16information-retrievalmetricsneonnumpyscipysimdsimd-instructionssimilarity-measuressimilarity-searchvector-search

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
ermig1979/simd An image processing and machine learning library optimized for high-performance computations on various x86/x64 and ARM architectures. 2,077
jeffamstutz/tsimd Provides C++ SIMD types and utilities for Intel CPUs to improve performance 343
xtensor-stack/xsimd Provides C++ wrappers for SIMD intrinsics and parallelized mathematical functions to accelerate code execution on various platforms. 2,239
p12tic/libsimdpp A portable header-only C++ low level SIMD library providing a unified interface to various instruction sets. 1,250
scinim/vectorize A backend for Nim that provides SIMD vectorization capabilities to improve performance of numerical computations. 15
simd-lite/simd-json A fast and efficient JSON parser with Serde compatibility, optimized for SIMD instructions 1,179
simdutf/simdutf Fast Unicode validation and transcoding utilities 1,220
piotte13/simd-visualiser A tool to visualize and understand Single Instruction/Multiple Data (SIMD) code 672
daniel-liu-c0deb0t/triple_accel A Rust library providing optimized SIMD-based edit distance routines and string search algorithms with platform-dependent fallbacks. 105
vectorclass/version2 A C++ library leveraging SIMD instructions to improve performance on modern CPUs. 1,316
bitshifter/glam-rs A fast linear algebra library for games and graphics 1,555
sundoge/simdjson-rust Rust bindings for JSON parsing with SIMD optimization 103
aff3ct/mipp A C++ header file providing portable SIMD and vector instructions for various architectures 487
fsprojects/simdarray A library that provides performance-enhanced array operations using SIMD and parallel processing in F# 132
egorbo/simdjsonsharp Library for fast JSON parsing and minification using SIMD instructions 651