-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Revert "Merge pull request #57132 from CyrusNajmabadi/branchId3" #58856
Revert "Merge pull request #57132 from CyrusNajmabadi/branchId3" #58856
Conversation
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.
Approving in that this appears to be a clean revert of the original PR (minus the small tweaks needed for adding the _workspace field back).
/// <summary> | ||
/// Cached compile time solution corresponding to the <see cref="Workspace.PrimaryBranchId"/> | ||
/// </summary> | ||
private (int DesignTimeSolutionVersion, BranchId DesignTimeSolutionBranch, Solution CompileTimeSolution)? _primaryBranchCompileTimeCache; | ||
|
||
/// <summary> | ||
/// Cached compile time solution for a forked branch. This is used primarily by LSP cases where | ||
/// we fork the workspace solution and request diagnostics for the forked solution. | ||
/// </summary> | ||
private (int DesignTimeSolutionVersion, BranchId DesignTimeSolutionBranch, Solution CompileTimeSolution)? _forkedBranchCompileTimeCache; |
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.
@tmat any concern with bringing this back? I don't know if anything more recently depended upon the simpler code in some way.
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.
I am not aware of anything. Why do we need to revert this?
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.
Because it caused a big regression of allocation in OOP
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1426911
This reverts commit 83a728a, reversing
changes made to a4ec465.