Commit a0e206b
committed
Auto merge of #153799 - notriddle:stringdex-0.0.6, r=GuillaumeGomez
rustdoc-search: update to stringdex 0.0.6
This update includes a few optimizations that reduce the size and index building time:
- the wire format uses two bits to store four possibilities, instead of only handling three https://gitlab.com/notriddle/stringdex/-/merge_requests/34
- the hashes themselves are 40 bits instead of 48, and inlining is able to still fit enough data by storing runs https://gitlab.com/notriddle/stringdex/-/merge_requests/35
- scanning for duplicates takes advantage of the rarity of conflicts, using an array with 32 bit numbers and only pulling in the other 8 bits when actually needed https://gitlab.com/notriddle/stringdex/-/merge_requests/373 files changed
Lines changed: 677 additions & 370 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5371 | 5371 | | |
5372 | 5372 | | |
5373 | 5373 | | |
5374 | | - | |
| 5374 | + | |
5375 | 5375 | | |
5376 | | - | |
| 5376 | + | |
5377 | 5377 | | |
5378 | 5378 | | |
5379 | 5379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments