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

Reduce allocations and garbage #1004

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Reduce allocations and garbage #1004

merged 1 commit into from
Dec 6, 2021

Conversation

mtdowling
Copy link
Member

This commit attempts to cut down on the amount of allocations used when
validating Smithy models, including limiting the use of Streams in core
APIs, no longer copying validation events passed to ValidatedResult, and
no longer caching the result of every selector used in trait defintions
when evaluating trait targets.

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

@mtdowling mtdowling requested a review from a team as a code owner December 6, 2021 07:29
This commit attempts to cut down on the amount of allocations used when
validating Smithy models, including limiting the use of Streams in core
APIs, no longer copying validation events passed to ValidatedResult, and
no longer caching the result of every selector used in trait defintions
when evaluating trait targets.
@mtdowling mtdowling merged commit 2463b45 into main Dec 6, 2021
@mtdowling mtdowling deleted the reduce-garbage branch January 7, 2022 21:56
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