Skip to content

Commit 5bf869e

Browse files
committed
internal/core/adt: remove resolved TODO
https://cuelang.org/cl/1193637 resolved this by adding CUE_DEBUG=sharing which is on by default but can be disabled. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I3fcd5c0a2806fc13b3cad009a8c09425007bca00 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205568 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Matthew Sackman <[email protected]>
1 parent 4e92634 commit 5bf869e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: internal/core/adt/share.go

-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ func (n *nodeContext) share(c Conjunct, arc *Vertex, id CloseInfo) {
126126
}
127127

128128
func (n *nodeContext) shareIfPossible(c Conjunct, arc *Vertex, id CloseInfo) bool {
129-
// TODO: have an experiment here to enable or disable structure sharing.
130-
// return false
131129
if !n.ctx.Sharing {
132130
return false
133131
}

0 commit comments

Comments
 (0)