Skip to content

Minor optimizations

Marinus Schraal requested to merge cherry-pick-cbee5094 into gnome-3-28

By setting the main window's stack to not homogeneous, we won't try to allocate all the views every time the window is allocated.

And by reducing the maximum number of albums per row, and knowing that asymptotic complexity of the GtkFlowBox allocation is O(max²), we can save some good hundreds of thousands of cycles too.

(cherry picked from commit cbee5094)

Merge request reports

Loading