rust/src/libsyntax
bors de78655bca Auto merge of #34652 - jseyfried:fix_expansion_perf, r=nrc
Fix expansion performance regression

**syntax-[breaking-change] cc #31645**

This fixes #34630 by reverting commit 5bf7970 of PR #33943, which landed in #34424.

By removing the `Rc<_>` wrapping around `Delimited` and `SequenceRepetition` in `TokenTree`, 5bf7970 made cloning `TokenTree`s more expensive. While this had no measurable performance impact on the compiler's crates, it caused an order of magnitude performance regression on some macro-heavy code in the wild. I believe this is due to clones of `TokenTree`s in `macro_parser.rs` and/or `macro_rules.rs`.

r? @nrc
2016-07-06 20:04:11 -07:00
..
diagnostics Rollup merge of #34385 - cgswords:tstream, r=nrc 2016-06-26 02:11:59 +00:00
ext Auto merge of #34652 - jseyfried:fix_expansion_perf, r=nrc 2016-07-06 20:04:11 -07:00
parse Auto merge of #34652 - jseyfried:fix_expansion_perf, r=nrc 2016-07-06 20:04:11 -07:00
print prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
util Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth 2016-06-26 02:18:43 +00:00
abi.rs
ast.rs cleanup: refactor away ast::NodeIdAssigner 2016-06-28 05:28:25 +00:00
attr.rs Rollup merge of #34531 - GuillaumeGomez:libsyntax_err_codes, r=jonathandturner 2016-07-02 15:46:49 +05:30
Cargo.toml Fix Cargo.tomls 2016-06-27 18:30:46 +00:00
codemap.rs Fix codemap tests to not double import 2016-06-24 13:20:23 -04:00
config.rs Auto merge of #34546 - jseyfried:cfg_attr_path, r=nrc 2016-07-06 00:34:51 -07:00
diagnostic_list.rs Add comments on error code list 2016-06-30 11:14:22 +02:00
entry.rs
feature_gate.rs Fix tests 2016-06-29 22:10:36 +02:00
fold.rs Revert "Change fold_tt and fold_tts to take token trees by value (instead of by reference)" 2016-07-04 23:42:35 +00:00
json.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
lib.rs Add comments on error code list 2016-06-30 11:14:22 +02:00
ptr.rs
show_span.rs
std_inject.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
str.rs
test.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
tokenstream.rs Revert "Change fold_tt and fold_tts to take token trees by value (instead of by reference)" 2016-07-04 23:42:35 +00:00
visit.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00