Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find_closest #46

Open
joshua0x opened this issue Feb 21, 2019 · 1 comment
Open

find_closest #46

joshua0x opened this issue Feb 21, 2019 · 1 comment

Comments

@joshua0x
Copy link

regards code of buffer_closest_nodes, a trivial way is to scan the bucket and its adjacent buckets and find the 8 closest node , what's your consideration

@jech
Copy link
Owner

jech commented Jul 27, 2019

I'll be glad to consider a patch. Note that you'd need to deal with the case where both the bucket and the adjacent buckets are empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants