Streaming the last earlier provider interval #
The search retains the binary schedule, target interval and port, a binary cursor and at most one previous matching index. It visits earlier intervals in increasing order, replacing the saved index on a match. Window membership is computed by streamed digit counts. No list of indices or runtime power is allocated.
Actual schedule number, target interval and target port.
Retained search arguments, next candidate interval and last matching interval.
Check one candidate and advance the binary cursor, retaining the original arguments.
Search the earlier intervals without materializing their indices.
Every iteration retains the original schedule and target.
The search cursor equals the number of completed iterations.
The retained option is absent exactly before any match, and otherwise records a greatest matching candidate among the intervals already visited.
Streaming search computes the existing numeric last-provider operation.
The native reader finds exactly the functional schedule's last earlier provider.