Skip to content

Skip empty damage work and index focus rules by pseudo-class - #80

Merged
trissim merged 3 commits into
mainfrom
perf/empty-damage-sender-admission-20261006
Oct 6, 2026
Merged

trissim merged 3 commits into
mainfrom
perf/empty-damage-sender-admission-20261006

Conversation

@trissim

@trissim trissim commented Oct 6, 2026 •

Copy link
Copy Markdown

Compositor.pending_for returns false immediately when there are no dirty regions. Stylesheet.rules_map now also indexes rules by their pseudo-class names, and the focus-dependency scan only visits rules that use the pseudo-classes in question. A new test covers focus dependency updates after reading and reparsing a stylesheet.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 22:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim trissim changed the title Avoid full sender geometry scan when no damage is pending Remove redundant geometry and focus-rule discovery work Oct 6, 2026
@trissim
trissim merged commit 7efdd92 into main Oct 6, 2026
2 of 22 checks passed
@trissim trissim changed the title Remove redundant geometry and focus-rule discovery work Skip empty damage work and index focus rules by pseudo-class Oct 11, 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.

2 participants