about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-04-06 06:24:13 +0900
committerGitHub <noreply@github.com>2021-04-06 06:24:13 +0900
commit12d007da0f6620c8a10448cf5be762ffbb94ffd8 (patch)
tree512a42bf13c8151ef16713d5582df2264f7da6d7 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent67ffbedadaa7949895c347b90c876c985088e1c0 (diff)
parent2370e3b439aa01982c33bbfe9823337a6231207f (diff)
downloadrust-12d007da0f6620c8a10448cf5be762ffbb94ffd8.tar.gz
rust-12d007da0f6620c8a10448cf5be762ffbb94ffd8.zip
Rollup merge of #83835 - notriddle:sort-index, r=ollie27
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