rust/src/librustc_codegen_utils
Nicholas Nethercote 257eaf523f Introduce InternedString::intern.
`InternedString::intern(x)` is preferable to
`Symbol::intern(x).as_interned_str()`, because the former involves one
call to `with_interner` while the latter involves two.

The case within InternedString::decode() is particularly hot, and this
change reduces the number of `with_interner` calls by up to 13%.
2019-05-20 09:17:00 +10:00
..
Cargo.toml Remove MetadataOnlyCodegenBackend 2019-03-16 10:54:38 +01:00
codegen_backend.rs Move metadata encoding earlier. 2019-04-30 14:55:10 +10:00
lib.rs Pass a Symbol to check_name, emit_feature_err, and related functions. 2019-05-13 09:29:22 +10:00
link.rs Remove the equality operation between Symbol and strings. 2019-05-13 09:31:30 +10:00
symbol_names.rs Introduce InternedString::intern. 2019-05-20 09:17:00 +10:00
symbol_names_test.rs Pass a Symbol to check_name, emit_feature_err, and related functions. 2019-05-13 09:29:22 +10:00