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:
@@ -44,7 +44,7 @@ func readField(s *session, t *template, held *hold, sc renderScope, a arm) draw
|
||||
if len(a.tail) > 0 {
|
||||
sc.pins = &d.pins
|
||||
}
|
||||
r := renderLeaf(s, drawPath(t.head(a.key), a.tail, a.key, &renderWalk{s: s, pins: &d.pins, held: d, a: &a}), sc)
|
||||
r := renderLeaf(s, drawPath(t.head(a.key), a.tail, a.key, &pathDraw{s: s, pins: &d.pins, held: d, a: &a}), sc)
|
||||
if d.value == nil {
|
||||
d.value = map[string]draw{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user