diff options
| author | Michael Howell <michael@notriddle.com> | 2025-08-26 19:46:50 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2025-09-03 17:09:01 -0700 |
| commit | 80e18051cb9e4f4ed2e6c1927b598367788d5f2a (patch) | |
| tree | 401f6a43c6c7df42c464354e8022917b6e181259 /Cargo.lock | |
| parent | 5ab69249f36678c0a770a08d3d1b28a8103349ff (diff) | |
| download | rust-80e18051cb9e4f4ed2e6c1927b598367788d5f2a.tar.gz rust-80e18051cb9e4f4ed2e6c1927b598367788d5f2a.zip | |
rustdoc-search: yet another stringdex optimization attempt
This one's uses a different tactic. It shouldn't significantly increase the amount of downloaded index data, but still reduces the amount of disk usage. This one works by changing the suffix-only node representation to omit some data that's needed for checking. Since those nodes make up the bulk of the tree, it reduces the data they store, but also requires validating the match by fetching the name itself (but the names list is pretty small, and when I tried it with wordnet "indexing" it was about the same).
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock index af7c24abd13..6866c1359b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5225,9 +5225,9 @@ dependencies = [ [[package]] name = "stringdex" -version = "0.0.1-alpha4" +version = "0.0.1-alpha9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2841fd43df5b1ff1b042e167068a1fe9b163dc93041eae56ab2296859013a9a0" +checksum = "7081029913fd7d591c0112182aba8c98ae886b4f12edb208130496cd17dc3c15" dependencies = [ "stacker", ] |
