rust/compiler
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
..
rustc just max_level_info 2020-09-11 09:37:51 -07:00
rustc_apfloat Backport another LLVM commit to rustc_apfloat 2020-10-04 02:02:25 +02:00
rustc_arena Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_ast Expand NtExpr tokens only in key-value attributes 2020-11-03 00:53:43 +03:00
rustc_ast_lowering Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
rustc_ast_passes Fix typos 2020-10-29 16:51:46 +01:00
rustc_ast_pretty Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_attr Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_builtin_macros Unconditionally capture tokens for attributes. 2020-10-21 18:57:29 -04:00
rustc_codegen_cranelift Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff25d3dda92' 2020-10-26 09:53:27 +01:00
rustc_codegen_llvm Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiser 2020-11-03 04:27:27 +00:00
rustc_codegen_ssa Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiser 2020-11-03 04:27:27 +00:00
rustc_data_structures Move post order walk to iterative approach 2020-10-31 18:52:00 +01:00
rustc_driver Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_error_codes Rollup merge of #78332 - PoignardAzur:doc_E0308, r=camelid 2020-10-27 08:44:54 +09:00
rustc_errors Some work 2020-10-30 20:02:14 -04:00
rustc_expand Expand NtExpr tokens only in key-value attributes 2020-11-03 00:53:43 +03:00
rustc_feature Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_fs_util Remove unused code from remaining compiler crates 2020-10-14 04:14:32 +02:00
rustc_graphviz /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_hir Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_hir_pretty Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_incremental /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_index cache types during normalization 2020-09-19 17:27:13 +02:00
rustc_infer Remove implicit Continue type 2020-10-30 12:27:47 +01:00
rustc_interface Rollup merge of #78610 - petrochenkov:nostriptok, r=Aaron1011 2020-11-02 14:14:34 +09:00
rustc_lexer Add back missing comments 2020-10-30 10:13:41 -04:00
rustc_lint Auto merge of #75534 - Aaron1011:feature/new-future-breakage, r=pnkfelix 2020-11-01 16:52:28 +00:00
rustc_lint_defs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
rustc_llvm Auto merge of #78531 - cuviper:unwrap-metadata, r=tmandry 2020-11-01 09:30:11 +00:00
rustc_macros Remove implicit Continue type 2020-10-30 12:27:47 +01:00
rustc_metadata Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiser 2020-11-03 04:27:27 +00:00
rustc_middle Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiser 2020-11-03 04:27:27 +00:00
rustc_mir Auto merge of #78592 - fpoli:nll-facts-dir, r=matthewjasper 2020-11-02 04:39:05 +00:00
rustc_mir_build Auto merge of #78553 - Nadrieril:fix-78549, r=varkor 2020-11-01 14:37:50 +00:00
rustc_parse parser: Cleanup LazyTokenStream and avoid some clones 2020-10-31 01:56:34 +03:00
rustc_parse_format /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_passes Cache foreign_modules query 2020-10-27 16:21:55 +01:00
rustc_plugin_impl /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_privacy Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obk 2020-10-30 22:53:55 +00:00
rustc_query_system Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_resolve Expand NtExpr tokens only in key-value attributes 2020-11-03 00:53:43 +03:00
rustc_save_analysis Rollup merge of #78349 - JohnTitor:issue-75962, r=davidtwco 2020-10-27 08:45:07 +09:00
rustc_serialize Replace absolute paths with relative ones 2020-10-13 14:16:45 +02:00
rustc_session Auto merge of #78592 - fpoli:nll-facts-dir, r=matthewjasper 2020-11-02 04:39:05 +00:00
rustc_span Rollup merge of #78524 - tmiasko:source-files-borrow, r=Aaron1011 2020-10-30 18:00:54 +09:00
rustc_symbol_mangling Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_target Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
rustc_trait_selection Fix format 2020-11-02 16:59:11 +09:00
rustc_traits Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obk 2020-10-30 22:53:55 +00:00
rustc_ty Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
rustc_typeck Add delay_span_bug to no longer ICE 2020-11-01 22:31:19 +00:00