Skip to content

fix: skip observer map reprocessing on same-reference assignment#7644

Open
AKnassa wants to merge 1 commit into
microsoft:mainfrom
AKnassa:fix/7581-observer-map-same-ref
Open

fix: skip observer map reprocessing on same-reference assignment#7644
AKnassa wants to merge 1 commit into
microsoft:mainfrom
AKnassa:fix/7581-observer-map-same-ref

Conversation

@AKnassa

@AKnassa AKnassa commented Jul 12, 2026

Copy link
Copy Markdown

What this does

When the same object is assigned to an observer map again, fast-html no longer redoes all the work of processing it.

Why

Assigning the identical object reference a second time is a no-op in meaning, but it was triggering a full reprocess. That is wasted work on every such assignment.

What changed

  • Same-reference assignments are detected and skipped

How to see it

Run the fast-element Playwright suite. 10 tests cover the extension subpaths.

Closes #7581

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@AKnassa AKnassa marked this pull request as ready for review July 13, 2026 04:06
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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.

fix: avoid same-reference observerMap assignment reprocessing in fast-html

1 participant