Commit 1433ec4
authored
Rollup merge of #148522 - yotamofek:pr/rustdoc/optimize-read_postings_from_string, r=GuillaumeGomez
Micro-optimize rustdoc search index parsing
This should pre-allocate the correct size for the `slot` vec. Not sure how much of a difference it'll make, but let's see.1 file changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
91 | 84 | | |
92 | 85 | | |
93 | 86 | | |
| |||
0 commit comments