Annoy

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Annoy is an open source library for finding approximate nearest neighbors (ANN) with a focus on low memory usage. It stores its index in a contiguous memory-mapped file, allowing multiple processes to share the same index without duplicating memory. Spotify uses it to find similar tracks among millions of songs in 40-dimensional vector space, where sharing memory across processes is critical given the large data sizes involved.

1m read timeFrom erikbern.com
Post cover image

Sort: