Files
vectorcraft/crates/engine/src/cmd/edit
dotCooCoo 9a58807841 Performance: a move finds the selected objects' places in fewer walks of the tree
With 10,000 objects selected, object.move walked the document's tree five
times and looked each object up by id three times. It now walks the tree
three times and looks each object up once.

- The selected roots (for the menus, for Move, Rotate, Scale and the
  other transforms, for Copy and Cut, and inside an isolated group) are
  put in paint order and reduced to their top-level objects from one walk
  instead of two.
- A transform finds the objects' places once for Transform Patterns and
  for the edit, instead of once for each.
- After a transform, the check for a pixel-aligned compound path reads
  the parent at the object's place instead of looking the object and its
  parent up by id.
2026-11-29 16:44:27 -08:00
..