-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
red-knot: Cache symbol tables #11106
Conversation
where | ||
Db: SemanticDb + HasJar<SemanticJar>, | ||
{ | ||
let jar = db.jar(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that's not it 😅 . It's a jar in which you store your salsa... And each jar contains multiple ingredients.
I'll update this PR to cache |
0634caf
to
a4da71a
Compare
|
a4da71a
to
9837844
Compare
Summary
This PR adds a new
db.symbol_table(file_id)
method that allows querying the symbol table for a file (that gets cached).Test Plan
cargo build