Skip to content

Check child nodes before the layout style in Widget.is_container - #88

Merged
trissim merged 3 commits into
mainfrom
perf/container-height-membership-20261007
Oct 7, 2026
Merged

trissim merged 3 commits into
mainfrom
perf/container-height-membership-20261007

Conversation

@trissim

@trissim trissim commented Oct 7, 2026 •

Copy link
Copy Markdown

Widget.is_container now tests bool(self._nodes) first and the layout style second, which avoids reading styles for widgets that have children. A measurement script, container_height_membership_pilot.py, is added to compare the two orders in a running Toad app. One test file is added.

@trissim
trissim marked this pull request as ready for review October 7, 2026 05:15
Copilot AI balanced review requested due to automatic review settings October 7, 2026 05:15

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 22f6542 into main Oct 7, 2026
3 of 22 checks passed
@trissim trissim changed the title Use native membership before container layout lookup Check child nodes before the layout style in Widget.is_container Oct 11, 2026
@trissim
trissim deleted the perf/container-height-membership-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