Skip to content

Commit a0e206b

Browse files
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/37
2 parents 1d8897a + 949570f commit a0e206b

3 files changed

Lines changed: 677 additions & 370 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5371,9 +5371,9 @@ dependencies = [
53715371

53725372
[[package]]
53735373
name = "stringdex"
5374-
version = "0.0.5"
5374+
version = "0.0.6"
53755375
source = "registry+https://github.com/rust-lang/crates.io-index"
5376-
checksum = "07ab85c3f308f022ce6861ab57576b5b6ebc4835f9577e67e0f35f6c351e3f0a"
5376+
checksum = "155cb460a7ede06f71ac9961e28d3ba4b3408355e233f8edd158b957ceba3950"
53775377
dependencies = [
53785378
"stacker",
53795379
]

src/librustdoc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rustdoc-json-types = { path = "../rustdoc-json-types" }
2222
serde = { version = "1.0", features = ["derive"] }
2323
serde_json = "1.0"
2424
smallvec = "1.8.1"
25-
stringdex = "=0.0.5"
25+
stringdex = "=0.0.6"
2626
tempfile = "3"
2727
threadpool = "1.8.1"
2828
tracing = "0.1"

0 commit comments

Comments
 (0)