Results 13 comments of orrorcol

@yurymalkov Thank you for your quick response. I agree that we can check the size of top_candidates or visited_list in line 264

1. You can add something to count the number of times the distance computation function is called https://github.com/nmslib/hnswlib/blob/3c6a84fb54a2a92dc4b7dc3e13dbae3d99892444/hnswlib/hnswlib.h#L52-L53 2. You can goole how cmake is used together with visual studio

The easisst way is to print the result to stdout or a file.他Or you can refer to the python binding code

Thank you, I will create a pull request.

@jelmerk I guess they will merger new pull request to branch develop before merged into master. This will make the master branch more stable.

@guocuimi I think you are right.

I forget to reopen this issue. I think @guocuimi is right. @yurymalkov I think this line should be changed, https://github.com/nmslib/hnswlib/blob/3c6a84fb54a2a92dc4b7dc3e13dbae3d99892444/hnswlib/hnswalg.h#L409

And these lines, commited by me : https://github.com/nmslib/hnswlib/blob/3c6a84fb54a2a92dc4b7dc3e13dbae3d99892444/hnswlib/hnswlib.h#L74-L76 The interface is not virtual, so it can not be overrided and it is not polymorphism. I suggest removing the template. Sorry...

Another suggestion: the result points are aranged in a max heap, while what people interested in is the nearest points. I would suggest using another comparator that would return a...

Would you like some pull requests for these suggestions?