Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33
@@ -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
|
// 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.
|
// caller's steps stay on its stack.
|
||||||
type pathStep struct {
|
type pathStep struct {
|
||||||
kind stepKind
|
kind stepKind
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ This round, in order:
|
|||||||
- Draw every path through one interpreter over those steps, `drawSteps`, with `descend`
|
- 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
|
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
|
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`
|
- Fold `checkNoOverlap` and `checkNoRepeatedRead` into `heldCheck`, so `compileFormat`
|
||||||
compiles and nothing more.
|
compiles and nothing more.
|
||||||
- Fix at compile how `readField` reads an arm, `arm.kind`, deleting its two panics and
|
- Fix at compile how `readField` reads an arm, `arm.kind`, deleting its two panics and
|
||||||
|
|||||||
Reference in New Issue
Block a user