diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-06 00:28:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-06 00:28:46 +0900 |
| commit | a1ec22f6dd4952806121f27d312417aec9ecb796 (patch) | |
| tree | 6f8679a7e47d506477b1de65835fa0c7ca378f39 /src/rustllvm/RustWrapper.cpp | |
| parent | b2c6b8c29f13f8d1f242da89e587960b95337819 (diff) | |
| parent | 1a183368082ad357b1fef0f55038becc9ac14b7b (diff) | |
| download | rust-a1ec22f6dd4952806121f27d312417aec9ecb796.tar.gz rust-a1ec22f6dd4952806121f27d312417aec9ecb796.zip | |
Rollup merge of #58001 - pnkfelix:issue-57735-proc-macro-with-large-tokenstream-slow, r=eddyb
proc_macro: make `TokenStream::from_streams` pre-allocate its vector. This requires a pre-pass over the input streams. But that is cheap compared to the quadratic blowup associated with reallocating the accumulating vector on-the-fly. Fix #57735
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
