5 ms·
And if you just have tens of thousands, straight up SQL can work pretty well, too.
by drittich 3y ago
And if you just have tens of thousands, straight up SQL can work pretty well, too.
- pornel 3y agoIf you have tens of thousands, a `for` loop over an array in memory is plenty fast. I've worked on a project that searched through 50 million vectors with linear brute-force search, just with a sprinkle of AVX (and it used the brute-force search, because the curse of dimensionality killed all the smarter approaches).