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

Precalculate distances for sort #33

Merged
merged 1 commit into from
Sep 17, 2018
Merged

Conversation

RReverser
Copy link
Contributor

@RReverser RReverser commented Sep 17, 2018

Backports distance caching optimisation from Rust: mourner/delaunator-rs#3

Some data points from benchmark from my machine (before/after) for 1M points:

uniform:    1624.276ms 1437.700ms
gaussian:   1522.548ms 1287.702ms
grid:       1369.310ms 1212.476ms
degenerate:  758.197ms  403.011ms

Backports distance caching optimisation from Rust: mourner/delaunator-rs#3

Some data points from benchmark from my machine (before/after):
uniform:
1000000: 1624.276ms 1437.700ms
gaussian:
1000000: 1522.548ms 1287.702ms
grid:
1000000: 1369.310ms 1212.476ms
degenerate:
1000000: 758.197ms 403.011ms
Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 🎉🎉🎉

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