Skip to content

perf(scl): reuse short-lived save enrichment snapshot - #327

Draft
masarray wants to merge 1 commit into
mainfrom
perf/reuse-scl-save-enrichment-snapshot
Draft

masarray wants to merge 1 commit into
mainfrom
perf/reuse-scl-save-enrichment-snapshot

Conversation

@masarray

Copy link
Copy Markdown
Owner

Purpose

Follow-up optimization after the physically proven R10 convergence baseline.

R10 showed Ed2 and Ed1 saves in the same unchanged live session each produced 3,854 canonical instance-evidence leaves, while each save performed the bounded value enrichment again.

This PR reuses the already-projected canonical value snapshot only when:

  • the same live discovery model object is still authoritative;
  • the previous save enrichment completed within 15 seconds;
  • the MMS session is still initiated/connected.

Reconnect/new discovery already calls ClearCanonicalModel(), which now also clears the save-enrichment snapshot. The optimization never changes P0 Smart Discovery and never reuses across association/model reset.

No template interning is included here; that remains a separate higher-risk semantic optimization.

masarray added a commit that referenced this pull request Sep 19, 2026
CI-only repair aligned with the physically proven R10 authority. Preserves the exact merged ARIEC61850 engine pin and keeps PR #327 outside the stable release line.
masarray added a commit that referenced this pull request Sep 19, 2026
Publishes the physically verified R10 stable baseline. Version metadata only; no runtime or engine-lock changes. PR #327 remains excluded.

This branch has not been deployed

No deployments
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