Commit e8a3934
authored
Rollup merge of #55816 - nnethercote:from_decimal_string-SmallVec, r=oli-obk
Use `SmallVec` to avoid allocations in `from_decimal_string`.
This reduces the number of allocations in a "check clean" build of
`tuple-stress` by 14%, reducing instruction counts by 0.6%.4 files changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2096 | 2096 | | |
2097 | 2097 | | |
2098 | 2098 | | |
| 2099 | + | |
2099 | 2100 | | |
2100 | 2101 | | |
2101 | 2102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
1962 | 1963 | | |
1963 | 1964 | | |
1964 | 1965 | | |
1965 | | - | |
| 1966 | + | |
1966 | 1967 | | |
1967 | 1968 | | |
1968 | 1969 | | |
| |||
2021 | 2022 | | |
2022 | 2023 | | |
2023 | 2024 | | |
2024 | | - | |
2025 | | - | |
| 2025 | + | |
| 2026 | + | |
2026 | 2027 | | |
2027 | | - | |
2028 | | - | |
| 2028 | + | |
| 2029 | + | |
2029 | 2030 | | |
2030 | 2031 | | |
2031 | 2032 | | |
| |||
2064 | 2065 | | |
2065 | 2066 | | |
2066 | 2067 | | |
2067 | | - | |
| 2068 | + | |
2068 | 2069 | | |
2069 | 2070 | | |
2070 | 2071 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments