Skip to content

Allow optimizing u32::from::<char>.#124905

Merged
bors merged 6 commits intorust-lang:masterfrom
reitermarkus:u32-from-char-opt
Jul 27, 2024
Merged

Allow optimizing u32::from::<char>.#124905
bors merged 6 commits intorust-lang:masterfrom
reitermarkus:u32-from-char-opt

Conversation

@reitermarkus
Copy link
Contributor

Extracted from #124307.

This allows optimizing the panicking branch in the escape_unicode function, see https://rust.godbolt.org/z/61YhKrhvP.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. perf-regression-triaged The performance regression has been triaged. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.