Usearch

Latest version: v2.16.9

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 28

0.11811184883117676

$ python python/scripts/bench_exact.py --ndim 256 --n 10_000 --q 100 --k 100 --half

0.08691692352294922

Even without hardware acceleration from [SimSIMD](https://github.com/ashvardanian/SimSIMD), on the M2 Mac Book Pro:

- USearch performs 3.3x faster than FAISS on single-precision `f32` vectors.
- USearch performs 6.1x faster than FAISS on half-precision `f16` vectors.

In some settings, the difference may reach 10x. Below are samples for the 13th Gen Intel Core i9-13950HX x86 CPU:

sh
$ python python/scripts/bench_exact.py --ndim 256 --n 100_000 --q 10 --k 100

0.7565422058105469

$ python python/scripts/bench_exact.py --ndim 256 --n 10_000 --q 10 --k 100 --half

0.06946372985839844

0.5975005626678467

$ python python/scripts/bench_exact.py --ndim 256 --n 100_000 --q 100 --k 100 --half

0.04720497131347656

$ python python/scripts/bench_exact.py --ndim 256 --n 100_000 --q 10 --k 100 --half

Page 17 of 28

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.