rust-analyzer/crates
bors[bot] f724c84e7d
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>
2021-11-10 15:12:05 +00:00
..
base_db Expose version string of crates fom HIR 2021-11-03 15:40:06 +01:00
cfg Replace some String usages with SmolStr in completions 2021-11-05 12:30:39 +01:00
flycheck Set MSRV 2021-10-23 15:07:11 +03:00
hir Fix proc-macro attributes being shadowed by their functions in IDE layer 2021-11-08 14:49:50 +01:00
hir_def Do not search through all three namespaces in ItemScope::name_of 2021-11-10 16:08:40 +01:00
hir_expand Merge #10704 2021-11-05 15:06:37 +00:00
hir_ty Bump chalk 2021-11-09 20:05:04 +02:00
ide Fix proc-macro attributes being shadowed by their functions in IDE layer 2021-11-08 14:49:50 +01:00
ide_assists Merge #10691 2021-11-04 05:52:05 +00:00
ide_completion Add some completion profile spans 2021-11-08 19:41:16 +01:00
ide_db Fix proc-macro attributes being shadowed by their functions in IDE layer 2021-11-08 14:49:50 +01:00
ide_diagnostics Replace more Name::to_string usages with Name::to_smol_str 2021-11-04 18:12:05 +01:00
ide_ssr Merge #10698 2021-11-07 11:02:39 +00:00
limit Drop resolver and authors manifest entries 2021-10-25 18:12:40 +03:00
mbe internal: replace L_DOLLAR/R_DOLLAR with parenthesis hack 2021-10-23 20:44:31 +03:00
parser internal: remove unused dollars 2021-10-23 20:44:35 +03:00
paths Set MSRV 2021-10-23 15:07:11 +03:00
proc_macro_api Bump object avoid a duplicate dependency 2021-10-30 09:02:45 +03:00
proc_macro_srv Merge #10680 2021-11-03 16:19:42 +00:00
proc_macro_test Set MSRV 2021-10-23 15:07:11 +03:00
profile Set MSRV 2021-10-23 15:07:11 +03:00
project_model Merge #10691 2021-11-04 05:52:05 +00:00
rust-analyzer fix: show the right check-command 2021-11-09 21:52:55 +01:00
sourcegen Set MSRV 2021-10-23 15:07:11 +03:00
stdx Set MSRV 2021-10-23 15:07:11 +03:00
syntax Replace some String usages with SmolStr in completions 2021-11-05 12:30:39 +01:00
test_utils Set MSRV 2021-10-23 15:07:11 +03:00
text_edit Update crates/text_edit/src/lib.rs 2021-11-03 15:44:46 +01:00
toolchain Set MSRV 2021-10-23 15:07:11 +03:00
tt Set MSRV 2021-10-23 15:07:11 +03:00
vfs Set MSRV 2021-10-23 15:07:11 +03:00
vfs-notify Set MSRV 2021-10-23 15:07:11 +03:00