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

Jump-and-Walk #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

therealbnut
Copy link

This is just a proof-of-concept.

I was interested to see how the Jump-and-Walk algorithm would compare to your existing methods of point location. It's meant to perform better with high density clusters of points, and doesn't need any pre-sorting or maintenance of data structures.

Understandably it's worse than bulk last-used because the vertices are sorted for bulk insertion.
Screenshot 2025-01-22 at 12 25 21 pm

It's consistently slower than the hierarchy for location, but requires no hierarchy management.
Screenshot 2025-01-22 at 12 25 47 pm

The jump sampling count could probably be optimised a bit (and it's meant to be random rather than stepped, but I wanted determinism). Although I don't currently think there's a clear enough advantage to pursue it further, I thought I'd share the results in case you're interested (feel free to close this).

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.

1 participant