ZJULearning / nsg

Navigating Spreading-out Graph For Approximate Nearest Neighbor Search
MIT License
632 stars 150 forks source link

unnecessary "flags[id] = true" #41

Open yangzq50 opened 11 months ago

yangzq50 commented 11 months ago

https://github.com/ZJULearning/nsg/blob/eceb09e2754d978b4c8b07e3248018987feb597a/src/index_nsg.cpp#L549

在这里, flags[id] = true 必然已经成立了

fc731097343 commented 11 months ago

是的