Skip to content

Experimental: Wrapper to cache the bounding box of a view#10

Draft
bugadani wants to merge 1 commit intomasterfrom
feature/bounds-cache
Draft

Experimental: Wrapper to cache the bounding box of a view#10
bugadani wants to merge 1 commit intomasterfrom
feature/bounds-cache

Conversation

@bugadani
Copy link
Owner

@bugadani bugadani commented Jul 8, 2020

Automatically use the cache wrapper in LinearLayout, since it measures views multiple times during arrange.

@bugadani
Copy link
Owner Author

bugadani commented Jul 8, 2020

This would be really nice but in this form it's suboptimal. I'm not sure if it's possible to only cache bounds where necessary (mainly for Text) without specialization

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.

1 participant