This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 3ff2c88
Tage Johansson
Rewrite the DenseBitSet structure to only use one word on the stack.
This commit modifies DenseBitSet 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.1 parent 87b4541 commit 3ff2c88
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