mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-29 17:55:59 +01:00
Saving a large imported icon library froze until the system ran out of memory. The crash dump's stack (v0.18.1) runs Save, the thumbnail render, a boolean group and then linesweeper 0.4.0's sweep, which loops and keeps allocating on near-touching curves. The input is small, so the sweep caps don't stop it. linesweeper 0.5 fixes that loop. VectorCraft's pathops already uses 0.5, so the lockfile drops the second copy. Test: two shapes reduced from linesweeper's own regression input; the boolean runs on a thread and must finish within 10 s. It times out on 0.4.0 and finishes in milliseconds on 0.5.