mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-09 17:40:14 -06:00
Making a brush or symbol library, and gathering the resources copied art uses, found each referenced swatch, symbol, pattern, graphic style, text style and brush by scanning all the definitions of its kind, and checked library membership and panel order by scanning the lists again, so a library or document of N definitions cost N squared comparisons. Each kind is now indexed by name the first time a reference to it is followed, and the library code looks names up in sets and maps built once.