about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-06 13:26:26 +0200
committerGitHub <noreply@github.com>2024-07-06 13:26:26 +0200
commit04056524a03291a7e90a33508027e749535df7dc (patch)
tree8e2a48c2a8aebebb612658db64075f42c8b40b7d /compiler/rustc_resolve/src
parent2137d19ef6a65c00a3d7f4034bb76628651625d7 (diff)
parentfbb6300fc28aabd434c34b1aeece754def13b96d (diff)
downloadrust-04056524a03291a7e90a33508027e749535df7dc.tar.gz
rust-04056524a03291a7e90a33508027e749535df7dc.zip
Rollup merge of #127379 - notriddle:notriddle/decode, r=GuillaumeGomez
rustdoc-search: stop constructing pointless arrays in decode

I'm not sure why I ever thought that would be okay. This is clearly hot code, and should avoid Array.prototype.map when it's not needed. In any case, it shows up in the profiler.

rustdoc-js-profiler:
https://notriddle.com/rustdoc-html-demo-11/decode-opt-1/index.html

Firefox profiler:
[Before](https://share.firefox.dev/3RRH2fR)
[After](https://share.firefox.dev/3Wblcq8)
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions