| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-02-23 | Rollup merge of #58476 - nnethercote:rm-LazyTokenStream, r=petrochenkov | Mazdak Farrokhzad | -3/+2 | |
| Remove `LazyTokenStream`. `LazyTokenStream` was added in #40939. Perhaps it was an effective optimization then, but no longer. This PR removes it, making the code both simpler and faster. r? @alexcrichton | ||||
| 2019-02-18 | Fix style nits | Dan Robertson | -1/+1 | |
| Fix style nits discovered in reading code. | ||||
| 2019-02-18 | Remove `LazyTokenStream`. | Nicholas Nethercote | -3/+2 | |
| It's present within `Token::Interpolated` as an optimization, so that if a nonterminal is converted to a `TokenStream` multiple times, the first-computed value is saved and reused. But in practice it's not needed. `interpolated_to_tokenstream()` is a cold function: it's only called a few dozen times while compiling rustc itself, and a few hundred times across the entire `rustc-perf` suite. Furthermore, when it is called, it is almost always the first conversion, so no benefit is gained from it. So this commit removes `LazyTokenStream`, along with the now-unnecessary `Token::interpolated()`. As well as a significant simplification, the removal speeds things up slightly, mostly due to not having to `drop` the `LazyTokenStream` instances. | ||||
| 2019-02-07 | Add lowering errors for const generics | varkor | -0/+4 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-02-07 | libsyntax => 2018 | Taiki Endo | -16/+17 | |
| 2019-02-06 | Rename `fold.rs` as `mut_visit.rs`. | Nicholas Nethercote | -0/+1330 | |
