diff options
| author | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-11-21 23:26:31 +0100 |
|---|---|---|
| committer | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-11-21 23:26:31 +0100 |
| commit | 20bd7f000fa788b9d38c5d664bb19b1ba38af850 (patch) | |
| tree | 2256c777d7d36306c60b23b1f47e34fa0a72072d /src/test/incremental/thinlto | |
| parent | 5a3aa2f73cbb08c6e41418c5378791fa24a66146 (diff) | |
| download | rust-20bd7f000fa788b9d38c5d664bb19b1ba38af850.tar.gz rust-20bd7f000fa788b9d38c5d664bb19b1ba38af850.zip | |
utf8 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
