about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-22 03:47:34 +0200
committerGitHub <noreply@github.com>2019-05-22 03:47:34 +0200
commit1c4582c1ffb441e2b55871e14c1b755e85a2f78f (patch)
treeb9fb912520892ab31147e16ad014c0515e5972d3 /src/test/debuginfo/enum-thinlto.rs
parent40a18a1df52ad3b499b002e4493590f553aae954 (diff)
parentc5d94017569713c12a7e3d260cb4cd0a02b26372 (diff)
downloadrust-1c4582c1ffb441e2b55871e14c1b755e85a2f78f.tar.gz
rust-1c4582c1ffb441e2b55871e14c1b755e85a2f78f.zip
Rollup merge of #60973 - nnethercote:fix-file_metadata-more, r=michaelwoerister
Avoid symbol interning in `file_metadata`.

This commit changes `created_files` so it uses strings directly as keys,
rather than symbols derived from the strings. This avoids the cost of
having to do the hash table lookups to produce the symbols from the
strings.

The commit also uses `entry` to avoid doing a repeated hash table lookup
(`get` + `insert`).

Note that PR #60467 improved this code somewhat; this is a further
improvement.

r? @davidtwco
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions