Files
vectorcraft/crates
dotCooCoo 880fcb1973 Tools, Properties: the tool rail and Quick Actions are rebuilt only when their inputs change
The tool rail built every slot again in every frame: a command and a
caption for each tool, and a walk of the tool catalog for each slot's
id. It now keeps the tool groups its slots came from and builds the
slots again only when those groups or the UI language change. Slot ids
come from a table built once.

The Properties panel listed its Quick Actions in every frame, which
checks several commands and walks the selection. The list is now kept
with a key made of the menus' state, the document and its revision, the
tool and isolation mode, and is listed again only when the key changes.

Frame benchmark (1920x1080 at 2x, 400 objects, median UI-thread time of
300 frames): idle 5.64 ms to 5.51 ms, 400 objects selected 17.75 ms to
16.46 ms; allocations per frame 13,439 to 13,121 idle and 70,090 to
68,169 selected. The tests count the slots built and the Quick Actions
lists made per frame.
2026-11-28 12:32:34 -08:00
..
2026-11-27 19:12:32 -08:00