Jonas Dreßler b3c46a33c0 iconGrid: Cache max size of children
We call this._getChildrenMaxSize() from the allocate() vfunc of
IconGridLayout. Since the function is quite expensive, it slows the
layout process down a lot, so instead of re-calculating it on every
relayout, cache the max size of children.

This makes the average time spent in vfunc_allocate() of the iconGrid go
down from 2.3 ms to 1.6 ms.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1713>
2021-03-03 17:59:15 +00:00
..
2021-02-26 12:28:21 +00:00
2021-02-24 09:52:45 +00:00
2021-03-02 15:36:26 +01:00
2021-03-02 23:14:07 +00:00
2020-03-31 05:43:40 +00:00
2019-11-11 19:25:14 +00:00
2021-02-13 08:58:20 +00:00
2020-03-27 10:39:58 +01:00
2021-03-03 15:08:17 +00:00