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

It only needs to look for other small features when coalescing, not dropping #64

Merged
merged 4 commits into from
Jan 27, 2023

Conversation

e-n-f
Copy link
Collaborator

@e-n-f e-n-f commented Jan 21, 2023

Dropping small features from tiles that are too large was unnecessarily slow because it was scanning for another small feature (and not finding it, because it was dropped) before dropping each one. The search is only necessary when coalescing features, not dropping them, to choose which other feature to coalesce the feature onto.

@e-n-f e-n-f changed the title Back out the slow search for other small features when dropping features It only needs to look for other small features when coalescing, not dropping Jan 21, 2023
@e-n-f e-n-f marked this pull request as ready for review January 26, 2023 18:01
Copy link

@ibesora ibesora left a comment

Choose a reason for hiding this comment

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

Reviewed with @e-n-f

@e-n-f e-n-f merged commit b155b46 into main Jan 27, 2023
@e-n-f e-n-f deleted the fix-slow-drop-coalesce branch January 27, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants