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

added nearest_target function for comments #3308

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

melon64
Copy link

@melon64 melon64 commented Dec 13, 2024

Added binary search to find node closest to comment, added test for it

TODO

  • Add logic for more node types for deeper traversal (to improve location accuracy)
  • Add attachment logic

@kddnewton
Copy link
Collaborator

I'm generally okay with the direction, but can you talk a little about the motivation here?

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

Successfully merging this pull request may close these issues.

2 participants