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

Add information about the optimize_for_size libstd feature #64

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented May 27, 2024

The standard library has recently received a feature flag that will be used for implementing binary size optimized algorithms for libstd (rust-lang/rust#125612).

So far, there are a few optimizations in stdlib that make use of this feature flag already.

@Kobzol
Copy link
Contributor Author

Kobzol commented Jun 11, 2024

@johnthagen A few optimizations that leverage this have been added to stdlib, so in nightly using this flag already helps reducing code size (although slightly).

@johnthagen
Copy link
Owner

@Kobzol Thanks! I plan to take a look at this when I have some free time.

@johnthagen johnthagen self-assigned this Jun 12, 2024
@johnthagen johnthagen merged commit c030adc into johnthagen:main Jun 14, 2024
16 checks passed
@johnthagen
Copy link
Owner

Thank you for your contribution @Kobzol!

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