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

Account for enum member removal and optimize #2082

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

mtdowling
Copy link
Member

This commit further optimizes the ReplaceShapes transformer since it's used so heavily, even when loading models. This change also fixes a bug in how member removal was handled where members removed from enum and intEnum shapes were still left around as detached members in the updated Model.

Issue #, if available:

Description of changes:

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

This commit further optimizes the ReplaceShapes transformer since it's
used so heavily, even when loading models. This change also fixes a
bug in how member removal was handled where members removed from
enum and intEnum shapes were still left around as detached members
in the updated Model.
@mtdowling mtdowling requested a review from a team as a code owner December 20, 2023 17:13
@mtdowling mtdowling merged commit a84309f into main Dec 23, 2023
11 checks passed
@mtdowling mtdowling deleted the fix-replace-shapes-for-enums branch September 22, 2024 00:13
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