mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-15 22:52:35 +00:00
AreaShape::spans folded each Combine/Join component into the growing interval list with a full merge, so a shape of many disjoint components cost components x intervals per row, repeated for every row the layout tries. Gather a run of union components' intervals and merge them once (sort and sweep) when the run ends; other operators fold as before.