about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-21 18:31:57 +0000
committerbors <bors@rust-lang.org>2022-04-21 18:31:57 +0000
commitde1bc0008be096cf7ed67b93402250d3b3e480d0 (patch)
treeb5a4c4d3efe54f39a955e9898b12f021fa32d1d2 /src/librustdoc/html/static/js/source-script.js
parentb04c5329e1e145fb2fb46c5a7e775638712b03aa (diff)
parent34e2d3bab8905df4ad154f8fa8cdb5fe2dc769da (diff)
downloadrust-de1bc0008be096cf7ed67b93402250d3b3e480d0.tar.gz
rust-de1bc0008be096cf7ed67b93402250d3b3e480d0.zip
Auto merge of #96260 - Kobzol:rustdoc-idmap, r=petrochenkov
rustdoc: Optimize IdMap

Slightly optimizes `IdMap`, which is hot in `markdown_links` (context [here](https://github.com/rust-lang/rust/pull/96135#issuecomment-1103539052)). There are more improvements that can be made near this place, but this seemed like an easy win locally (although I tried it on top of https://github.com/rust-lang/rust/pull/94857, so let's see what happens without that PR).

r? `@petrochenkov`
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions