Skip to content

Match sorted Corgi identifier ranges monotonically - #869

Merged
frankmcsherry merged 1 commit into
TimelyDataflow:master-nextfrom
frankmcsherry:corgi-sorted-matching
Sep 9, 2026
Merged

frankmcsherry merged 1 commit into
TimelyDataflow:master-nextfrom
frankmcsherry:corgi-sorted-matching

Conversation

@frankmcsherry

Copy link
Copy Markdown
Member

Corgi reduce restarts searches for successive changed identifiers, while lopsided joins build owned needle columns. Share a monotone matching-range iterator that gallops across gaps and borrows the existing identifier slices. State is local to the iterator; sorted unique needles match complete runs in the sorted haystack.

Based directly on master-next after ownership merged as #868. The rebase preserves the complete source tree.

On the measured one-worker Reach and SCC workloads, maintenance time falls by 15.6% and 9.5%, respectively; load time falls by 5.8% and 5.9%. These are medians of four processes on Apple M4, with 1,000 edge replacements per epoch. Runtime changes: +102/-52 lines; tests: +39.

Validation: 131 selected library/integration tests passed again after rebasing; two existing tests ignored. Existing independent graph-oracle checks cover 240 snapshots per normal and instrumented binary

@frankmcsherry
frankmcsherry merged commit 626c80c into TimelyDataflow:master-next Sep 9, 2026
6 checks passed
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