-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: adapt handling of inline structs
Before inline structs were always recomputed for any given arc, so it was safe to assume a rooted struct could be dropped. This does not have a big impact on performance as of this CL, but it will have a big impact in combination with upcoming changes. Now inline structs can be structure shared, it is important to know where the inline struct orginated. This has an effect on dependency analysis. It also allows us to work around some issues with internal/core/dep w.r.t. these upcoming changes. Issue #2854 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Id795fc7d710b992782342d4db046a41f9ef703ff Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202264 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Matthew Sackman <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information
Showing
15 changed files
with
450 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.