rust/compiler
bors 386025117a Auto merge of #110410 - saethlin:hash-u128-as-u64s, r=oli-obk
Implement StableHasher::write_u128 via write_u64

In https://github.com/rust-lang/rust/pull/110367#issuecomment-1510114777 the cachegrind diffs indicate that nearly all the regression is from this:
```
22,892,558  ???:<rustc_data_structures::sip128::SipHasher128>::slice_write_process_buffer
-9,502,262  ???:<rustc_data_structures::sip128::SipHasher128>::short_write_process_buffer::<8>
```
Which happens because the diff for that perf run swaps a `Hash::hash` of a `u64` to a `u128`. But `slice_write_process_buffer` is a `#[cold]` function, and is for handling hashes of arbitrary-length byte arrays.

Using the much more optimizer-friendly `u64` path twice to hash a `u128` provides a nice perf boost in some benchmarks.
2023-04-18 03:11:18 +00:00
..
rustc
rustc_abi Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_ast_lowering Auto merge of #109588 - Nilstrieb:dropless-expr, r=compiler-errors 2023-04-17 05:12:12 +00:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_builtin_macros fix clippy::toplevel_ref_arg and ::manual_map 2023-04-16 13:28:13 +02:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm
rustc_codegen_ssa Various minor Idx-related tweaks 2023-04-16 02:42:50 -07:00
rustc_const_eval Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_data_structures Auto merge of #110410 - saethlin:hash-u128-as-u64s, r=oli-obk 2023-04-18 03:11:18 +00:00
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages
rustc_errors
rustc_expand
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #109588 - Nilstrieb:dropless-expr, r=compiler-errors 2023-04-17 05:12:12 +00:00
rustc_hir_analysis Auto merge of #110405 - fee1-dead-contrib:rollup-9rkree6, r=fee1-dead 2023-04-16 13:12:53 +00:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_interface
rustc_lexer
rustc_lint Rollup merge of #110257 - lukas-code:why-would-anyone-write-code-like-that-anyway, r=oli-obk 2023-04-17 18:13:33 +02:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros Rollup merge of #109665 - fee1-dead-contrib:rm-remap-queries, r=oli-obk 2023-04-16 18:55:38 +08:00
rustc_metadata Encode def span for ConstParam 2023-04-17 02:57:23 +00:00
rustc_middle Auto merge of #110243 - WaffleLapkin:bless_tagged_pointers🙏, r=Nilstrieb 2023-04-17 21:50:13 +00:00
rustc_mir_build use matches! macro in more places 2023-04-16 12:08:30 +02:00
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #110434 - compiler-errors:issue-110171, r=oli-obk 2023-04-17 18:13:36 +02:00
rustc_monomorphize
rustc_parse Rollup merge of #110404 - matthiaskrgr:mapmap, r=Nilstrieb 2023-04-17 08:09:40 +02:00
rustc_parse_format
rustc_passes Allow all associated functions and add test 2023-04-16 06:31:08 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_resolve Rollup merge of #110404 - matthiaskrgr:mapmap, r=Nilstrieb 2023-04-17 08:09:40 +02:00
rustc_serialize
rustc_session
rustc_smir
rustc_span Auto merge of #110367 - saethlin:no-truncations, r=oli-obk 2023-04-17 09:38:31 +00:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkin 2023-04-17 18:13:35 +02:00
rustc_traits Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors 2023-04-16 18:55:38 +08:00
rustc_transmute Erase regions when confirming transmutability candidate 2023-04-16 19:12:34 +00:00
rustc_ty_utils fix clippy::toplevel_ref_arg and ::manual_map 2023-04-16 13:28:13 +02:00
rustc_type_ir Rollup merge of #110386 - nnethercote:clean-up-traversal-macros, r=lcnr 2023-04-17 18:13:35 +02:00