diff options
| author | Michael Howell <michael@notriddle.com> | 2021-04-03 19:08:14 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2021-04-03 22:27:38 -0700 |
| commit | 5f92951d4ff91085ae7af62b2abf43fffde8b35d (patch) | |
| tree | 561f1f0c905cc8780d780ecaebff2bb31c1a458e /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 0b417ab5cdfdedffd74fb22cf22d27033c851304 (diff) | |
| download | rust-5f92951d4ff91085ae7af62b2abf43fffde8b35d.tar.gz rust-5f92951d4ff91085ae7af62b2abf43fffde8b35d.zip | |
rustdoc: sort search index items for compression
This should not affect the appearance of the docs pages themselves.
This makes the pre-compressed search index smaller, thanks to the
empty-string path duplication format, and also the gzipped version,
by giving the algorithm more structure to work with.
rust$ wc -c search-index-old.js search-index-new.js
2628334 search-index-old.js
2586181 search-index-new.js
5214515 total
rust$ gzip search-index-*
rust$ wc -c search-index-old.js.gz search-index-new.js.gz
239486 search-index-old.js.gz
237386 search-index-new.js.gz
476872 total
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
