about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/stringdex.js
AgeCommit message (Collapse)AuthorLines
2025-09-24rustdoc-search: stringdex update with more packingMichael Howell-27/+51
Before: 18M build/x86_64-unknown-linux-gnu/doc/search.index/ 57M build/x86_64-unknown-linux-gnu/compiler-doc/search.index/ After: 16M build/x86_64-unknown-linux-gnu/doc/search.index/ 49M build/x86_64-unknown-linux-gnu/compiler-doc/search.index/
2025-09-12rustdoc-search: delay loading type name IDs until type searchMichael Howell-1/+1
This avoids blocking on these lookups, so name-based searches return results more quickly.
2025-09-12rustdoc-search: reduce async machinery in value lookupsMichael Howell-43/+54
This commit is a mirrored change from stringdex that makes `at()` not always return a promise, which is fine because we can still `await` it.
2025-09-03rustdoc-search: yet another stringdex optimization attemptMichael Howell-145/+638
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).
2025-08-15rustdoc-search: search backend with partitioned suffix treeMichael Howell-0/+3217