about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-30 16:41:05 +0000
committerbors <bors@rust-lang.org>2021-01-30 16:41:05 +0000
commitfd20a8be0d74a7026267af5c9a0cd251eeaba7c6 (patch)
treeb6b045350dba330fe1bf7cf3d13687720346e0b5 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent7ce1b3b24491cbe10669cbe2b5733c2fe7cfe5b7 (diff)
parenta1a78304658d8caadb6e2f145be3eca659b49c17 (diff)
downloadrust-fd20a8be0d74a7026267af5c9a0cd251eeaba7c6.tar.gz
rust-fd20a8be0d74a7026267af5c9a0cd251eeaba7c6.zip
Auto merge of #81453 - jumbatm:clashing-extern-decl-perf, r=nagisa
clashing_extern_declarations: Use symbol interning to avoid string alloc.

Use symbol interning as a hack to avoid allocating a string for every symbol name we store in the seen set. This hopefully addresses the minor perf regression described in https://github.com/rust-lang/rust/pull/80009#issuecomment-763526902.

r? `@nagisa`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions