pixelogik / NearPy

Python framework for fast (approximated) nearest neighbour search in large, high-dimensional data sets using different locality-sensitive hashes.
MIT License
759 stars 152 forks source link

engine.store_vector #50

Closed armintabari closed 7 years ago

armintabari commented 8 years ago

For a large number of vectors, it takes a long time to call "engine.store_vector()" for all the data points. Is there faster way to index the vectors?

BTW, thank you for answering quickly.

amorgun commented 8 years ago

@armintabari It's hard to answer without example code. E.g., if you are using RedisStorage you may tinker it to group multiple store_vector operations into one pipeline and get significant speedup.