Direct work-symbol branch combinator — definitions #
TM.branchWorkSymbolTM idx symbol onEqual onDifferent inspects one work tape
and runs onEqual exactly when the current symbol equals symbol. This is the
generic controller branch used by the sparse RAM lookup scan.
One dispatch step followed by either branch's advertised time.
Equations
- Complexity.TM.branchWorkSymbolTime equalTime differentTime = 1 + max equalTime differentTime