rust/compiler
bors 5b8f284536 Auto merge of #107643 - Zoxc:single-cache, r=cjgillot
Create a single value cache for the () query key

Since queries using `()` as the key can only store a single value, specialize for that case.

This looks like a minor performance improvement:
<table><tr><td rowspan="2">Benchmark</td><td colspan="1"><b>Before</b></th><td colspan="2"><b>After</b></th></tr><tr><td align="right">Time</td><td align="right">Time</td><td align="right">%</th></tr><tr><td>🟣 <b>clap</b>:check</td><td align="right">1.8477s</td><td align="right">1.8415s</td><td align="right"> -0.33%</td></tr><tr><td>🟣 <b>hyper</b>:check</td><td align="right">0.2666s</td><td align="right">0.2655s</td><td align="right"> -0.40%</td></tr><tr><td>🟣 <b>syntex_syntax</b>:check</td><td align="right">6.3943s</td><td align="right">6.3686s</td><td align="right"> -0.40%</td></tr><tr><td>🟣 <b>syn</b>:check</td><td align="right">1.6413s</td><td align="right">1.6345s</td><td align="right"> -0.42%</td></tr><tr><td>🟣 <b>regex</b>:check</td><td align="right">1.0337s</td><td align="right">1.0313s</td><td align="right"> -0.24%</td></tr><tr><td>Total</td><td align="right">11.1836s</td><td align="right">11.1414s</td><td align="right"> -0.38%</td></tr><tr><td>Summary</td><td align="right">1.0000s</td><td align="right">0.9964s</td><td align="right"> -0.36%</td></tr></table>
2023-02-12 17:20:33 +00:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_builtin_macros
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm
rustc_codegen_ssa Auto merge of #105601 - BelovDV:change-rlib-with-not-stable, r=petrochenkov 2023-02-12 07:15:27 +00:00
rustc_const_eval revert #107074 2023-02-10 15:24:39 +01:00
rustc_data_structures
rustc_driver
rustc_driver_impl Rollup merge of #107836 - chenyukang:yukang/fix-107822, r=oli-obk 2023-02-10 15:28:47 +01:00
rustc_error_codes
rustc_error_messages Auto merge of #105601 - BelovDV:change-rlib-with-not-stable, r=petrochenkov 2023-02-12 07:15:27 +00:00
rustc_errors
rustc_expand
rustc_feature [link] enable packed bundled lib in non stable cases 2023-02-10 12:51:12 +03:00
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #107919 - Dylan-DPC:rollup-fkl9swa, r=Dylan-DPC 2023-02-11 09:19:07 +00:00
rustc_incremental
rustc_index
rustc_infer Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_interface
rustc_lexer
rustc_lint add AliasEq to PredicateKind 2023-02-10 13:44:46 +00:00
rustc_lint_defs
rustc_llvm
rustc_log Rollup merge of #107895 - matthiaskrgr:cl, r=compiler-errors 2023-02-11 17:18:44 +01:00
rustc_macros
rustc_metadata Auto merge of #105601 - BelovDV:change-rlib-with-not-stable, r=petrochenkov 2023-02-12 07:15:27 +00:00
rustc_middle Auto merge of #107643 - Zoxc:single-cache, r=cjgillot 2023-02-12 17:20:33 +00:00
rustc_mir_build
rustc_mir_dataflow
rustc_mir_transform Auto merge of #107851 - cjgillot:sroa-const, r=oli-obk 2023-02-11 20:59:18 +00:00
rustc_monomorphize
rustc_parse
rustc_parse_format remove redundant clones 2023-02-10 18:08:25 +01:00
rustc_passes
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system Create a single value cache for the () query key 2023-02-11 23:38:01 +01:00
rustc_resolve Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
rustc_save_analysis
rustc_serialize
rustc_session Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk 2023-02-11 12:10:16 +00:00
rustc_smir
rustc_span Auto merge of #105671 - lukas-code:depreciate-char, r=scottmcm 2023-02-12 11:09:06 +00:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection Auto merge of #107919 - Dylan-DPC:rollup-fkl9swa, r=Dylan-DPC 2023-02-11 09:19:07 +00:00
rustc_traits Auto merge of #107507 - BoxyUwU:deferred_projection_equality, r=lcnr 2023-02-11 05:46:24 +00:00
rustc_transmute
rustc_ty_utils
rustc_type_ir