Skip to content

Extract and publish reusable operator infrastructure - #794

Merged
frankmcsherry merged 1 commit into
TimelyDataflow:master-nextfrom
frankmcsherry:land/recipes
Jul 13, 2026
Merged

Extract and publish reusable operator infrastructure#794
frankmcsherry merged 1 commit into
TimelyDataflow:master-nextfrom
frankmcsherry:land/recipes

Conversation

@frankmcsherry

Copy link
Copy Markdown
Member

The int-proxy introduced some regular patterns that have been useful for at least one other tactic, however the tools need to become public for this to work. These are still a bit specialized and function-fit, but as folks start to use them we can work on their shapes a bit more.

…al computation

Extracts from int_proxy the pieces whose correctness is a property of their
own inputs and outputs, so they can be used and tested in isolation:

  * TimeHistory — replay times ascending with meet-of-remainder tracking and a
    meet-advanced deduplicated buffer (a cheaper ValueHistory when only time
    structure matters). ValueHistory itself was already shared (operators::)
    and is re-exported here.
  * discover_times — the times at which a key's reduction must be
    re-evaluated, plus those to carry past 'upper'; O(times) peak memory.
    Its one cross-call obligation (seeds from the novel batch's own support)
    is stated at the signature.
  * bilinear_wave — the join of two histories in time order, work bounded by
    netted accumulation sizes rather than history lengths.
  * tile_descriptions — cut an output interval into batch descriptions along
    held capabilities.

int_proxy's tactics become expressions over these helpers, behaviorally
identical (its tests and oracles carry the equivalence). Written to host a
second tactic binding whose times are ranks into a caller-supplied store.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@frankmcsherry
frankmcsherry merged commit 9bfb043 into TimelyDataflow:master-next Jul 13, 2026
6 checks passed
@frankmcsherry
frankmcsherry deleted the land/recipes branch July 13, 2026 01:28
@github-actions github-actions Bot mentioned this pull request Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant