about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sso/set.rs
diff options
context:
space:
mode:
authorJulian Wollersberger <julian.wollersberger@gmx.at>2021-11-30 16:06:58 +0100
committerJulian Wollersberger <julian.wollersberger@gmx.at>2021-12-01 19:14:10 +0100
commit1f147a2ed7671cacd8ab423d8979a1ccfa4443ab (patch)
tree7ceb843b858469295039282f0417caac325bb010 /compiler/rustc_data_structures/src/sso/set.rs
parent72d66064e77281536588189a916af28a1819b313 (diff)
downloadrust-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/sso/set.rs')
0 files changed, 0 insertions, 0 deletions