Skip to content

RUE-1465: defer object digests until plan comparison - #2323

Merged
steveklabnik merged 1 commit into
trunkfrom
codex/rue-1465-lazy-object-digests
Aug 12, 2026
Merged

RUE-1465: defer object digests until plan comparison#2323
steveklabnik merged 1 commit into
trunkfrom
codex/rue-1465-lazy-object-digests

Conversation

@steveklabnik

Copy link
Copy Markdown
Collaborator

Fixes RUE-1465.

Fresh linking consumes retained object bytes directly, so this keeps each object projection’s durable SHA-256 identity lazy and memoized until the dormant plan-delta path actually compares plans. Exact object equality remains byte-based and fresh plan construction no longer hashes 1,280 Lattice objects. This does not add incremental linking or linker state.

Cold Lattice (-j1, 16 balanced pairs):

  • retired instructions: -0.5993% (0.0651% MAD)
  • cycles: -0.2315% (0.7333% MAD)
  • compiler clock: -0.1895% (1.4135% MAD; neutral)
  • every deterministic work/source/output counter and executable byte: identical

Validation:

  • focused lazy-digest and plan-delta regressions
  • scripts/rue quick (31 targets, no failures)
  • scripts/rue fmt

@steveklabnik
steveklabnik enabled auto-merge August 12, 2026 15:56
@steveklabnik
steveklabnik added this pull request to the merge queue Aug 12, 2026
Merged via the queue into trunk with commit 9427159 Aug 12, 2026
23 checks passed
@steveklabnik
steveklabnik deleted the codex/rue-1465-lazy-object-digests branch August 12, 2026 16:08
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