Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use visibility information to narrow down search scopes #195

Open
mkaput opened this issue Jan 17, 2025 · 0 comments
Open

Use visibility information to narrow down search scopes #195

mkaput opened this issue Jan 17, 2025 · 0 comments

Comments

@mkaput
Copy link
Member

mkaput commented Jan 17, 2025

We can further expand SearchScopes optimization in find references implementation, by making use of item visibilities to narrow down searched file sets.

For example, if an item is not public outside a crate, we do not have to search for it in other crates. The same happens if an item is not public outside the current file: we only have to look in this file and submodule tree.

@mkaput mkaput moved this to Triage in CairoLS Jan 17, 2025
@mkaput mkaput added this to CairoLS Jan 17, 2025
@mkaput mkaput modified the milestone: Goto Jan 17, 2025
@mkaput mkaput moved this from Triage to Backlog in CairoLS Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant