flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.21k stars 646 forks source link

Getting slower over time on Windows #473

Closed melhashash closed 3 years ago

melhashash commented 3 years ago

flann_find_nearest_neighbors_index works fine at the beginning of a program but gets extremely slow over time after being called multiple times. I am using FLANN_INDEX_KDTREE and the dimension of each element is 128.

I am using FLANN's latest version on Windows, VS2017