-
Notifications
You must be signed in to change notification settings - Fork 302
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: first implementation of disjunctions
This is an incomplete implementation. The following mechanisms are still TODO: - cross product of disjunctions - inheriting tasks from "forked" nodeContexts (this is especially relavant for list values). - efficient dedupping of incomplete disjuncts - efficient memory management - "quick check" fast paths The main algorithm is implemented in disjunct2.go and overlay.go. See a description of the algorith in disjuncts2.go. Tests are enabled in a follow-up CL. Issue #2884 Issue #2851 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Ibaa052678572302abd380530fc891fc9495c75cc Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1190800 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
Showing
16 changed files
with
1,490 additions
and
64 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
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.