This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 0fad4cd
committed
Auto merge of rust-lang#127040 - blyxyas:xxh3-hasher, r=<try>
[Perf Experiment] Change FxHash to GxHash
I've done some experiments comparing hashing libraries that can be found in crates.io, and it while FxHash is faster than the default hasher, Gxhash is still about 10 times faster than fxhash.
This is just with the default implementation, the library permits customization using CPU-specific optimizations. But we can ask the maintainers for that if we were to verify that the optimization is big enough.File tree
365 files changed
+1749
-1693
lines changed- compiler
- rustc_ast_lowering/src
- rustc_ast_passes/src
- rustc_ast/src
- rustc_borrowck/src
- diagnostics
- region_infer
- type_check
- liveness
- rustc_builtin_macros/src
- assert
- deriving
- cmp
- rustc_codegen_cranelift/src
- debuginfo
- driver
- rustc_codegen_gcc/src
- rustc_codegen_llvm/src
- back
- coverageinfo
- debuginfo/metadata
- rustc_codegen_ssa/src
- back
- debuginfo
- mir
- traits
- rustc_const_eval/src
- const_eval
- interpret
- rustc_data_structures
- src
- graph
- scc
- obligation_forest
- snapshot_map
- sso
- rustc_errors/src
- rustc_expand/src
- mbe
- rustc_feature/src
- rustc_hir_analysis/src
- check
- compare_impl_item
- coherence
- collect
- hir_ty_lowering
- impl_wf_check
- outlives
- rustc_hir_typeck/src
- fn_ctxt
- method
- rustc_hir/src
- rustc_incremental/src
- persist
- fs
- rustc_infer/src
- errors
- infer
- canonical
- error_reporting
- nice_region_error
- lexical_region_resolve
- opaque_types
- outlives
- region_constraints
- traits
- error_reporting
- rustc_interface/src
- rustc_lint_defs/src
- rustc_lint
- src
- rustc_metadata/src
- rmeta
- rustc_middle/src
- infer
- middle
- mir
- interpret
- allocation
- query
- traits
- solve
- ty
- print
- rustc_mir_build/src
- build
- custom
- expr
- matches
- thir/pattern
- rustc_mir_dataflow/src
- move_paths
- rustc_mir_transform/src
- coverage
- inline
- rustc_monomorphize/src
- rustc_parse/src/parser
- rustc_passes/src
- rustc_pattern_analysis/src
- rustc_privacy/src
- rustc_query_impl/src
- rustc_query_system/src
- dep_graph
- query
- rustc_resolve/src
- late
- rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi
- rustc_session/src
- config
- rustc_smir/src/rustc_internal
- rustc_span/src
- rustc_symbol_mangling/src
- rustc_target/src/asm
- rustc_trait_selection/src
- solve
- traits
- error_reporting
- query
- type_op
- select
- specialize
- rustc_traits/src
- rustc_transmute/src
- rustc_ty_utils/src
- rustc_type_ir/src
- src
- librustdoc
- clean
- doctest
- formats
- html
- highlight
- render
- json
- passes
- tools/tidy/src
- tests
- ui-fulldeps
- codegen-backend/auxiliary
- internal-lints
- ui
- generic-associated-types
- lint
- unused
- stats
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
365 files changed
+1749
-1693
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
1385 | | - | |
| 1385 | + | |
1386 | 1386 | | |
1387 | 1387 | | |
1388 | 1388 | | |
| |||
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
1649 | 1658 | | |
1650 | 1659 | | |
1651 | 1660 | | |
| |||
2074 | 2083 | | |
2075 | 2084 | | |
2076 | 2085 | | |
2077 | | - | |
| 2086 | + | |
2078 | 2087 | | |
2079 | 2088 | | |
2080 | 2089 | | |
| |||
2406 | 2415 | | |
2407 | 2416 | | |
2408 | 2417 | | |
2409 | | - | |
| 2418 | + | |
2410 | 2419 | | |
2411 | 2420 | | |
2412 | 2421 | | |
| |||
3016 | 3025 | | |
3017 | 3026 | | |
3018 | 3027 | | |
3019 | | - | |
| 3028 | + | |
3020 | 3029 | | |
3021 | 3030 | | |
3022 | 3031 | | |
| |||
3448 | 3457 | | |
3449 | 3458 | | |
3450 | 3459 | | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
3451 | 3466 | | |
3452 | 3467 | | |
3453 | 3468 | | |
| |||
3817 | 3832 | | |
3818 | 3833 | | |
3819 | 3834 | | |
| 3835 | + | |
3820 | 3836 | | |
3821 | 3837 | | |
3822 | 3838 | | |
3823 | 3839 | | |
3824 | 3840 | | |
3825 | 3841 | | |
3826 | 3842 | | |
3827 | | - | |
| 3843 | + | |
3828 | 3844 | | |
3829 | 3845 | | |
3830 | 3846 | | |
| |||
4512 | 4528 | | |
4513 | 4529 | | |
4514 | 4530 | | |
4515 | | - | |
| 4531 | + | |
4516 | 4532 | | |
4517 | 4533 | | |
4518 | 4534 | | |
| |||
4904 | 4920 | | |
4905 | 4921 | | |
4906 | 4922 | | |
4907 | | - | |
| 4923 | + | |
4908 | 4924 | | |
4909 | 4925 | | |
4910 | 4926 | | |
| |||
5632 | 5648 | | |
5633 | 5649 | | |
5634 | 5650 | | |
5635 | | - | |
| 5651 | + | |
5636 | 5652 | | |
5637 | 5653 | | |
5638 | 5654 | | |
| |||
5886 | 5902 | | |
5887 | 5903 | | |
5888 | 5904 | | |
5889 | | - | |
| 5905 | + | |
5890 | 5906 | | |
5891 | 5907 | | |
5892 | 5908 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
| 321 | + | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
1633 | | - | |
| 1633 | + | |
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
831 | | - | |
| 831 | + | |
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments