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-10 15:12:05 +0000
committerGitHub <noreply@github.com>2021-11-10 15:12:05 +0000
commitf724c84e7d50e8f4fe84e7842008c1e4d33ef717 (patch)
tree4aeb382ec7bda89a173908596e2f01576fdb7cbc /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent899610778bbd7e3c7b6a3e52085b19f3721b483e (diff)
parent3c8898b1b170ff94450521755579a1971266e70e (diff)
downloadrust-f724c84e7d50e8f4fe84e7842008c1e4d33ef717.tar.gz
rust-f724c84e7d50e8f4fe84e7842008c1e4d33ef717.zip
Merge #10738
10738: internal: Do not search through all three namespaces in `ItemScope::name_of` r=Veykril a=Veykril

Brings down `5ms - find_path_prefixed (46 calls)` to `1ms - find_path_prefixed (46 calls)` for me on the `integrated_completion_benchmark`.
Still `O(n)` but this should considerably cut down lookups nevertheless(as shown by the timings already).
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