-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Updates Transparent Tagging structs to use unique.Handle for deduplication
#42186
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
Updates Transparent Tagging structs to use unique.Handle for deduplication
#42186
Conversation
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
|
Nice 🎉. |
|
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
|
This functionality has been released in v6.0.0-beta1 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Uses
unique.HandleforServicePackageResourceTagsdeduplication.Before change
BenchmarkSDKProviderInitialization-10 1 10538708 ns/op 27357848 B/op 139373 allocs/op
After change
BenchmarkSDKProviderInitialization-10 1 11033041 ns/op 27333384 B/op 138609 allocs/op
Eliminates 764 allocations and approximately 25 KB when initializing SDKv2 schemas. (Framework was not measured)