Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Codechange: Performance improvement in k-d tree FindNearest() #7608
The improvement is small, around 4-8%.
Usual commit message stuff applies.
In terms of the review, I'd recommend splitting it up properly - replace the function with the first commit, and add the debug stuff in a separate commit. Makes it much easier to review, especially when the debug stuff changes the contents of the function (removal of const due to