Skip to content

Import Widget in message dispatch only when selectors need it - #111

Merged
trissim merged 1 commit into
mainfrom
perf/native-selector-type-acquisition-20261007
Oct 8, 2026
Merged

trissim merged 1 commit into
mainfrom
perf/native-selector-type-acquisition-20261007

Conversation

@trissim

@trissim trissim commented Oct 8, 2026 •

Copy link
Copy Markdown

MessagePump imported Widget at the top of every decorated-handler lookup, including idle, named and unfiltered handlers that never use it. The import now sits inside the selector-matching branch in message_pump.py. Handler ordering, precedence and suppression are unchanged. This is the only file changed.

Copilot AI balanced review requested due to automatic review settings October 8, 2026 01:36

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 merged commit 7adb017 into main Oct 8, 2026
2 of 22 checks passed
@trissim trissim changed the title Avoid Widget import work in ordinary message and idle dispatch Import Widget in message dispatch only when selectors need it Oct 11, 2026
@trissim
trissim deleted the perf/native-selector-type-acquisition-20261007 branch October 11, 2026 20:05
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