Skip to content

chore(jsii-reflect): use Maps instead of Records #3671

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
Jul 26, 2022
Merged

Conversation

RomainMuller
Copy link
Contributor

Instead of using objects as maps, use actual Map as this has better
performance characteristics (results in fewer shadow classes being
generated, and is friendlier with the optimizer).


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

Instead of using objects as maps, use actual `Map` as this has better
performance characteristics (results in fewer shadow classes being
generated, and is friendlier with the optimizer).
@RomainMuller RomainMuller requested a review from a team July 22, 2022 12:43
@RomainMuller RomainMuller self-assigned this Jul 22, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jul 22, 2022
Copy link
Contributor

@mrgrain mrgrain left a comment

Choose a reason for hiding this comment

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

Maps 😍

@RomainMuller RomainMuller merged commit 3bfa17b into main Jul 26, 2022
@RomainMuller RomainMuller deleted the rmuller/use-maps branch July 26, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants