mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 21:27:00 +00:00
A trim checked and changed the selection once for every trimmed path and every piece, and each check or removal went through all selected objects, so a trim of thousands of selected paths spent time quadratic in their number on the selection alone. The command now reads the selection through a set and removes and adds objects once at the end. The resulting selection is the same as before, including object order, the key object and key anchor, the direct-selected anchors and segments, and the fields that a change to the object selection clears.