diff options
| author | Julian Wollersberger <julian.wollersberger@gmx.at> | 2021-11-30 16:06:58 +0100 |
|---|---|---|
| committer | Julian Wollersberger <julian.wollersberger@gmx.at> | 2021-12-01 19:14:10 +0100 |
| commit | 1f147a2ed7671cacd8ab423d8979a1ccfa4443ab (patch) | |
| tree | 7ceb843b858469295039282f0417caac325bb010 /compiler/rustc_data_structures/src | |
| parent | 72d66064e77281536588189a916af28a1819b313 (diff) | |
| download | rust-1f147a2ed7671cacd8ab423d8979a1ccfa4443ab.tar.gz rust-1f147a2ed7671cacd8ab423d8979a1ccfa4443ab.zip | |
Replace `nth_char(0)` with `next()` in `cursor.first()`
and optimize the iterator returned by `tokenize(). This improves lexer performance by 35%
Diffstat (limited to 'compiler/rustc_data_structures/src')
0 files changed, 0 insertions, 0 deletions
