mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 06:31:41 +00:00
Add Points and Divide into Dashes read each subpath's selected segments with a range lookup in the path's ordered segment set instead of filtering the whole set once per subpath. Add Points at Crossings and Split at Crossings sort a path's crossing places into a list per subpath once, in the order they come, instead of filtering the whole list for every subpath. Places on a subpath that no longer exists are still left out. The results are unchanged. Tests cover paths with several subpaths, an empty subpath, an untouched subpath and selection on the last subpath, for all four commands, plus the anchor fallback and the grouping of out-of-order crossing places.