rust/src/libsyntax/parse
Nicholas Nethercote 9f145022ef Avoid allocating when parsing \u{...} literals.
`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.
2018-04-19 09:17:40 +10:00
..
lexer Deprecate the std_unicode crate 2018-04-12 00:13:51 +02:00
attr.rs Use Ident instead of Name in MetaItem 2018-04-06 11:52:16 +03:00
classify.rs Catch expression does not require semicolon to be a statement 2017-07-18 03:42:21 +03:00
common.rs Fix some clippy warnings in libsyntax 2017-05-12 20:05:39 +02:00
mod.rs Avoid allocating when parsing \u{...} literals. 2018-04-19 09:17:40 +10:00
parser.rs Avoid comparing fields by name when possible 2018-04-12 23:06:03 +03:00
token.rs Rollup merge of #49852 - alexcrichton:fix-more-proc-macros, r=nrc 2018-04-14 15:21:19 +08:00