Name the path walks after their entry points, keep the probe allocation-free, and record why the walks are four loops
This commit is contained in:
@@ -32,7 +32,7 @@ func tableReadOf(head node, a arm, leaf node) *tableRead {
|
||||
if !isTable {
|
||||
return nil
|
||||
}
|
||||
probe := &probeWalk{}
|
||||
probe := &pathProbe{drawn: map[*table]bool{}}
|
||||
_, _ = probe.walk(t, a.tail)
|
||||
tr := &tableRead{headTable: t, pins: probe.pins, drawn: probe.drawn}
|
||||
written := a.spelling[:len(a.spelling)-len(joinSegments(a.tail))]
|
||||
|
||||
Reference in New Issue
Block a user