This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: maintain type cache per index (runtime)
Not doing so results in crashes in upcoming Go codec implementation. In general this seems like a good idea. Note that it may be better to do no caching at all, and leave it up to the go codec to cache. But for now we leave it until cuego is deprecated. Also hide Runtime.Context. Change-Id: I5179bc974503e78c8ae02f083e4b42a5ffb2cd39 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2709 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
- Loading branch information
Showing
2 changed files
with
14 additions
and
16 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