about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-12 05:14:50 +0000
committerbors <bors@rust-lang.org>2017-01-12 05:14:50 +0000
commit408c2f7827be838aadcd05bd041dab94388af35d (patch)
tree126ddcb037133d76473c23f43218d267c5284d53 /src/test/incremental/thinlto
parent2782e8f8fcefdce77c5e0dd0846c15c4c5103d84 (diff)
parent0dffc1e193f11392ba49b033a0d1c21ab4863b3d (diff)
downloadrust-408c2f7827be838aadcd05bd041dab94388af35d.tar.gz
rust-408c2f7827be838aadcd05bd041dab94388af35d.zip
Auto merge of #37926 - bluss:from-utf8-small-simplification, r=sfackler
UTF-8 validation: Compute block end upfront

Simplify the conditional used for ensuring that the whole word loop is
only used if there are at least two whole words left to read.

This makes the function slightly smaller and simpler, a 0-5% reduction
in runtime for various test cases.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions