about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-11-19 04:01:31 +0100
committerGitHub <noreply@github.com>2024-11-19 04:01:31 +0100
commit5f537c410ea0118897a5babcb3ec0bc1ad62d47a (patch)
tree646720a525459f4d4d4f9653d0f0bfa9f836a77f /compiler/rustc_codegen_llvm/src
parent17ffefcf0001e9dafee486b453c0761a02a48ccd (diff)
parent826d023561178fdc7bf961beba820fd460b0d89a (diff)
downloadrust-5f537c410ea0118897a5babcb3ec0bc1ad62d47a.tar.gz
rust-5f537c410ea0118897a5babcb3ec0bc1ad62d47a.zip
Rollup merge of #133185 - notriddle:notriddle/roaringbitmap, r=notriddle
rustdoc-search: use smart binary search in bitmaps

Addresses a comment from [jsha's benchmarking], where the `contains` function showed up in the profiler. This commit pulls it from about 5% of the runtime to about 0.5%.

Before: https://share.firefox.dev/3ANVjon

After: https://share.firefox.dev/3OeM3gk

[jsha's benchmarking]: https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/search.20profiling/near/481868761
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions