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

lib: Dispatch to monomorphic function #515

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

cgwalters
Copy link
Member

I was looking at cargo bloat and this showed up near the top twice. It's a large function and only the option parsing needs to be generic.

I was looking at `cargo bloat` and this showed up near the top twice.
It's a large function and only the option parsing needs to be generic.
@cgwalters
Copy link
Member Author

@jmarrero We were talking about binary size of rpm-ostree, this is just one tiny dent in that.

cgwalters added a commit to cgwalters/bootc that referenced this pull request Aug 16, 2023
This mirrors ostreedev/ostree-rs-ext#515

From looking at cargo bloat.
cgwalters added a commit to cgwalters/bootc that referenced this pull request Aug 16, 2023
This mirrors ostreedev/ostree-rs-ext#515

From looking at cargo bloat.

Signed-off-by: Colin Walters <[email protected]>
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@jmarrero jmarrero merged commit 332ad0d into ostreedev:main Aug 17, 2023
9 checks passed
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