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

performance tweaks for rings and holes #197

Merged
merged 1 commit into from
Jan 2, 2024
Merged

performance tweaks for rings and holes #197

merged 1 commit into from
Jan 2, 2024

Conversation

rafaqz
Copy link
Member

@rafaqz rafaqz commented Jan 2, 2024

Nothing to test here, they all work already this just uses faster paths.

  1. provide explicit getexterior and gethole methods rather than using fallbacks
  2. remove LinearRing construcors from getExterior and getInterior, they already return that and it allocates

@rafaqz rafaqz requested a review from evetion January 2, 2024 02:03
@evetion evetion merged commit d0b0aa8 into master Jan 2, 2024
9 of 11 checks passed
@rafaqz rafaqz deleted the rings branch January 2, 2024 10:31
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