Skip to content

Remove the height-independence opt-in flags; always use declared ones - #67

Merged
trissim merged 4 commits into
mainfrom
perf/native-height-declaration-admission-20261005
Oct 5, 2026
Merged

trissim merged 4 commits into
mainfrom
perf/native-height-declaration-admission-20261005

Conversation

@trissim

@trissim trissim commented Oct 5, 2026 •

Copy link
Copy Markdown

The CACHE_HEIGHT_INDEPENDENT_BOX and CACHE_HEIGHT_INDEPENDENT_ARRANGEMENT class flags are deleted from Widget, and the six lines that set them on VerticalGroup and HorizontalGroup are removed. The arrangement cache key in widget.py now always checks the declared height dependency to decide whether to ignore height. Two test files are updated.

@trissim
trissim marked this pull request as ready for review October 5, 2026 07:01
Copilot AI balanced review requested due to automatic review settings October 5, 2026 07:01

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 d7337ee into main Oct 5, 2026
3 of 22 checks passed
@trissim trissim changed the title Use declared height dependencies for native layout reuse Remove the height-independence opt-in flags; always use declared ones Oct 11, 2026
@trissim
trissim deleted the perf/native-height-declaration-admission-20261005 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