Files
vectorcraft/crates/svg
.CooCoo f2ffbe81d0 SVG import: a textPath finds the element its href names through an id map built once (#8160)
Each <textPath> with an href walked the whole document to find the element it names, so a file with many texts on paths took time proportional to the number of texts times the number of elements. The importer now builds a map of element ids at the first such lookup, keeping the first element in document order for each id, and looks each href up there. Files whose texts name no element do not build the map. The imported document is the same: a test compares the whole document and warnings with the per-id walk, including duplicate, missing and unusable ids.
2026-11-18 15:51:04 -05:00
..