You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the approaches would be to have cache inside methods that calculate boundaries.
But first each method needs to be benchmarked, as maintaining cache is a burden.
The text was updated successfully, but these errors were encountered:
There are a bunch of places where rects are needlessly re-calculated over most likely constant data.
E.g.
intrinsicContentSize
can just cache results of therectForLabel
call.One of the approaches would be to have cache inside methods that calculate boundaries.
But first each method needs to be benchmarked, as maintaining cache is a burden.
The text was updated successfully, but these errors were encountered: