Hacker News new | ask | show | jobs
by pornel 1019 days ago
If 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).