diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-11-19 13:31:40 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-11-19 14:27:16 +1100 |
| commit | 965161714bd770d2a86d5864556e3a93d2ad9bc8 (patch) | |
| tree | 22772617d4e77b7b26c75f317d681e11e078bf52 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 0f0c640e0ee5a9ad365e78e3c62239b3d65b7045 (diff) | |
| download | rust-965161714bd770d2a86d5864556e3a93d2ad9bc8.tar.gz rust-965161714bd770d2a86d5864556e3a93d2ad9bc8.zip | |
Delay an `is_local_ever_initialized` call.
This commit moves the call after a `return` that almost always runs. It speeds up the `unicode_normalization` benchmark by about 2%.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
