Answer stability round 1: the choice comment defines shared, and names none of its readers

This commit is contained in:
2026-10-09 13:06:05 +02:00
committed by Lillem4n
parent fd6d80e2c2
commit 18a264db59
+1 -1
View File
@@ -29,7 +29,7 @@ func (*folder) isNode() {}
// choice draws one of its items. cum holds cumulative weights for a weighted
// draw; when nil the choice is uniform and selection is O(1). shared is the set of
// relative dot paths every item can address, into a repeat too, which carriedByAll reads.
// relative dot paths every item can address, into a repeat too.
type choice struct {
items []node
cum []float64