rust/compiler/rustc_codegen_ssa/src
bors 7b5a9e9cd2 Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiser
foreign_modules query hash table lookups

When compiling a large monolithic crate we're seeing huge times in the `foreign_modules` query due to repeated iteration over foreign modules (in order to find a module by its id). This implements hash table lookups so that which massively reduces time spent in that query in this particular case. We'll need to see if the overhead of creating the hash table has a negative impact on performance in more normal compilation scenarios.

I'm working with `@wesleywiser` on this.
2020-11-03 04:27:27 +00:00
..
back Remove rustc_session::config::Config 2020-10-15 12:02:24 +02:00
coverageinfo Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
debuginfo Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
mir Auto merge of #68965 - eddyb:mir-inline-scope, r=nagisa,oli-obk 2020-10-26 18:50:22 +00:00
traits Auto merge of #68965 - eddyb:mir-inline-scope, r=nagisa,oli-obk 2020-10-26 18:50:22 +00:00
base.rs Remove some cruft from foreign_modules refactor 2020-10-27 20:17:48 +01:00
common.rs Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
glue.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
lib.rs Move finalize_session_directory call out of cg_llvm 2020-10-10 15:20:35 +02:00
meth.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mono_item.rs ty: remove obsolete printer 2020-08-30 18:59:07 +01:00
target_features.rs Add compiler support for LLVM's x86 ERMSB feature 2020-10-26 03:46:54 -07:00