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 the amount of code generated and avoid some allocations #1773

Merged
merged 13 commits into from
Jul 16, 2020

Conversation

Marwes
Copy link
Contributor

@Marwes Marwes commented Jun 15, 2020

Rusoto takes quite a while to compile so I figured I would take a stab at improving the generated code. This mainly extracts common code into utility functions that can be reused but there are also a few alterations to avoid allocations in a few places.

See individual commits for changes.

https://github.com/rusoto/rusoto/pull/1773/files/d2eb42df67c20a9a883bac5c75ed4d8777d5c398 changes without the generated code changing.

Copy link
Contributor

@iliana iliana left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks so much for all the hard refactoring work here! I'm running this through integration tests, it'll get merged as part of a rollup commit if that passes.

@iliana iliana added the waiting for rollup 🧶🏃‍♀️💨 PR is approved but will be part of a rollup merge label Jul 14, 2020
iliana added a commit to iliana/rusoto that referenced this pull request Jul 14, 2020
@iliana iliana merged commit 0d6df13 into rusoto:master Jul 16, 2020
@Marwes Marwes deleted the shrinkage branch July 17, 2020 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for rollup 🧶🏃‍♀️💨 PR is approved but will be part of a rollup merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants