about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-28 21:40:10 +0000
committerbors <bors@rust-lang.org>2022-06-28 21:40:10 +0000
commit2953edc7b7a00d14c4ba940ebb46b4e7148a9d71 (patch)
treecf271f0749d00431e79bb72c88d7e20127d7964d /compiler/rustc_codegen_llvm/src/builder.rs
parent830880640304ba8699c5f9a0c4665c38a3271963 (diff)
parent33cf9ea4a2aebb015e81071968659bd51218c5af (diff)
downloadrust-2953edc7b7a00d14c4ba940ebb46b4e7148a9d71.tar.gz
rust-2953edc7b7a00d14c4ba940ebb46b4e7148a9d71.zip
Auto merge of #98475 - notriddle:notriddle/index-fn-signatures, r=GuillaumeGomez
rustdoc: reference function signature types from the `p` array

This reduces the size of the function signature index, because it's common to have many functions that operate on the same types.

    $ wc -c search-index-old.js search-index-new.js
    5224374 search-index-old.js
    3932314 search-index-new.js

By my math, this reduces the uncompressed size of the search index by 32%.
On compressed signatures, the wins are less drastic, a mere 8%:

    $ wc -c search-index-old.js.gz search-index-new.js.gz
    404532 search-index-old.js.gz
    371635 search-index-new.js.gz
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions