Skip to content

Optimize work in CleanOperationStructures #2609

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Apr 29, 2025

This commit pre-computes the set of ShapeIds being removed to streamline its processing. This is now 1 loop through all IDs and 3 contains checks, where previously it was 3 loops and 3 equality checks.

Closes #2557


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit pre-computes the set of ShapeIds being removed to streamline
its processing. This is now 1 loop through all IDs and 1 contains check,
where previously it was 3 loops and 3 equality checks.
@kstich kstich requested a review from a team as a code owner April 29, 2025 08:14
@kstich kstich requested a review from JordonPhillips April 29, 2025 08:14
@kstich kstich merged commit 9fd4be3 into main May 5, 2025
8 of 15 checks passed
@kstich kstich deleted the kstich/optimize-clean-operation-structures branch May 5, 2025 16:51
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