about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-03 16:25:06 +0200
committerGitHub <noreply@github.com>2019-05-03 16:25:06 +0200
commit0784755127ab20dd6e710233768358c2f6821bbc (patch)
treeec4a9a0fae6217983c45a633b4a2d8f0dd44c1de /src/libstd/sys/unix/stack_overflow.rs
parent3fe5fac96da689e55f18c83de17a062b95ad9566 (diff)
parent6ef39e69eac42e1cc86ec8eeb1b85c6b3a8784fa (diff)
downloadrust-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