6 ms·
nice work! I wrote a similar library (https://github.com/stillmatic/gollum/blob/main/packages/vectorstore/vectorstore.go https://github.com/stillmatic/gollum/bl
by huac 2y ago
nice work! I wrote a similar library (https://github.com/stillmatic/gollum/blob/main/packages/vectorstore/vectorstore.go https://github.com/stillmatic/gollum/blob/main/packages/vect...) and similarly found that exact search (w/the same simple heap + SIMD optimizations) is quite fast. with 100k objects, retrieval queries complete in <200ms on an M1 Mac. no need for a fancy vector DB :)
that library used `viterin/vek` for SIMD math: https://github.com/viterin/vek/ https://github.com/viterin/vek/
- neonsunset 2y agoLook what Go needs to mimic even a fraction of .NET’s SIMD power… ;)