diff --git a/path.go b/path.go index a7c10a6..bff2e7a 100644 --- a/path.go +++ b/path.go @@ -187,7 +187,7 @@ func (t *table) route(tail []string, descended bool) (tableRoute, error) { } // pathStep is one step of a compiled path, taken at the node the steps before it -// reached; at indexes the tail segment the step consumes. A step holds no pointer, so a +// reached; at indexes the tail segment the step consumes. A step holds no node, so a // caller's steps stay on its stack. type pathStep struct { kind stepKind diff --git a/todo.md b/todo.md index db711ec..c019b27 100644 --- a/todo.md +++ b/todo.md @@ -43,7 +43,7 @@ This round, in order: - Draw every path through one interpreter over those steps, `drawSteps`, with `descend` probing into a stack buffer, deleting `pathDraw`, and replace the decision "The path walks are separate loops": the prototype held `perf_test.go` once a step held no - pointer, the probe returned its slice and the interpreter took `levels`. + node, the probe returned its slice and the interpreter took `levels`. - Fold `checkNoOverlap` and `checkNoRepeatedRead` into `heldCheck`, so `compileFormat` compiles and nothing more. - Fix at compile how `readField` reads an arm, `arm.kind`, deleting its two panics and