diff options
| author | Michael Howell <michael@notriddle.com> | 2024-07-05 10:23:59 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-07-05 10:23:59 -0700 |
| commit | fbb6300fc28aabd434c34b1aeece754def13b96d (patch) | |
| tree | f2e743f7e06b13ae035e19865736c170375cac24 /compiler/rustc_resolve/src | |
| parent | 11dd90f7613a4b160ed8398a3f1c7c129ad1a372 (diff) | |
| download | rust-fbb6300fc28aabd434c34b1aeece754def13b96d.tar.gz rust-fbb6300fc28aabd434c34b1aeece754def13b96d.zip | |
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
