mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
9f145022ef
`char_lit` uses an allocation in order to ignore '_' chars in \u{...}
literals. This patch changes it to not do that by processing the chars
more directly.
This improves various rustc-perf benchmark measurements by up to 6%,
particularly regex, futures, clap, coercions, hyper, and encoding.