This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 693ccca
committed
Auto merge of rust-lang#141325 - tage64:thin_bit_set, r=<try>
[experiment, do not merge!] rewrite the DenseBitSet structure to only use 1 word on the stack
Modify DenseBitSet in the rustc_index crate so that it only uses one word on the stack instead of 4 words as before, allowing for faster clones. The downside is that it may at most store 63 elements on the stack as aposed to 128 for the previous implementation.
r? lqd
This is experimental so far and I mostly want a perf run to measure
the performance.File tree
20 files changed
+1975
-616
lines changed- compiler
- rustc_abi/src/layout
- rustc_index
- src
- bit_set
- rustc_middle/src
- rustc_mir_dataflow/src
- framework
- impls
- rustc_mir_transform/src
- coverage
- counters
20 files changed
+1975
-616
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3855 | 3855 | | |
3856 | 3856 | | |
3857 | 3857 | | |
| 3858 | + | |
3858 | 3859 | | |
3859 | 3860 | | |
3860 | 3861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments