Answer stability round 1: readUnder builds the leaf key once, the pick's comments name the pickKey, and the allocation gate covers a read under a nested pick

This commit is contained in:
2026-10-05 23:36:28 +02:00
committed by Lillem4n
parent 44b6f1ef89
commit 93c96968dc
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ func pathArm(name, head, writtenHead string, segs []string) arm {
return arm{spelling: name, head: head, writtenHead: writtenHead, tail: segs, levels: levelKeys(append([]string{head}, segs...), 1)}
}
// levelKeys is the key of each level path passes, the first after its first from segments.
// levelKeys keys each prefix of path, from its first from segments to the whole of it.
func levelKeys(path []string, from int) []pickKey {
levels := make([]pickKey, len(path)-from+1)
for i := range levels {