diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-05-03 16:25:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-03 16:25:06 +0200 |
| commit | 0784755127ab20dd6e710233768358c2f6821bbc (patch) | |
| tree | ec4a9a0fae6217983c45a633b4a2d8f0dd44c1de /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 3fe5fac96da689e55f18c83de17a062b95ad9566 (diff) | |
| parent | 6ef39e69eac42e1cc86ec8eeb1b85c6b3a8784fa (diff) | |
| download | rust-0784755127ab20dd6e710233768358c2f6821bbc.tar.gz rust-0784755127ab20dd6e710233768358c2f6821bbc.zip | |
Rollup merge of #60467 - nnethercote:less-symbol-interning, r=davidtwco
Avoid repeated interning of static strings. `file_metadata_raw` interns the strings `"<unknown>"` and `""` very frequently. This commit avoids that, which reduces the number of symbols interned significantly and reduces instruction counts by up to 0.5% on some workloads.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
