about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-05 13:53:59 +0000
committerGitHub <noreply@github.com>2021-11-05 13:53:59 +0000
commit274d9f90aed4320f223fe98916fc0cd71ad6f92f (patch)
treec570190b84a122951aa07c9aa97e2254f7760ab5 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentd1e449e313555a36fae31302f0fce5812ed84e9b (diff)
parent8dad1b92284d7c79872ac36e1fb3eece5756c86e (diff)
downloadrust-274d9f90aed4320f223fe98916fc0cd71ad6f92f.tar.gz
rust-274d9f90aed4320f223fe98916fc0cd71ad6f92f.zip
Merge #10703
10703: internal: Don't check items for macro calls if they have no attributes r=Veykril a=Veykril

Turns out when highlighting we currently populate the Dynmaps of pretty much every item in a file, who would've known that would be so costly...
Shaves off 250 ms for the integrated benchmark on `rust-analyzer/src/config.rs`.

We are still looking at a heft `154ms - descend_into_macros (2190 calls)` but I feel like this is slowly nearing towards just call overhead.
bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions