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

Store typechecking data per file #18328

Merged

Conversation

psfinaki
Copy link
Member

This splits all the cached data into chunks:

  • typechecking data per file
  • separate cache for shared data for those files (currently only TopAttribs)

I also added graph comparison logic in the CachingDriver - to understand for which files the TC data can be reused.
This is not yet used in the compiler logic, compiler still uses cached results only when it detects that it can reuse them all.

@psfinaki psfinaki marked this pull request as ready for review February 18, 2025 17:09
@psfinaki psfinaki requested a review from a team as a code owner February 18, 2025 17:09
@psfinaki psfinaki merged commit e3b3e72 into dotnet:feature/reuse-typechecking-results Feb 19, 2025
25 of 31 checks passed
@psfinaki psfinaki deleted the reuse-typecheck-j branch February 19, 2025 09:56
psfinaki added a commit that referenced this pull request Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant