Skip to content

Minor optimizations

Marinus Schraal requested to merge wip/mschraal/gb-minor-optimizations into master

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.

Based on !94 (closed)

Edited by Marinus Schraal

Merge request reports