diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-07-09 11:21:27 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-07-09 11:42:39 -0700 |
commit | ff40c3f3c8e71ce62afb3c14003a291a272fa7a8 (patch) | |
tree | 111bad212f84766a3d6459f2cd71acdf7ae757f1 /doc/Doxyfile | |
parent | 56d712686496845cab3bfd6a6ed67e4efc2c39d5 (diff) |
Optimize NodePath update when renaming or deleting nodes in the editor
Now the process uses a Map to lookup node pointers instead of iterating
over all modified node paths in a list and comparing them for each
property to check.
The process also avoids checking properties with empty node paths and
does an early exit on deleted nodes to avoid checking the node and its
descendants.
Also made a minor change in NodePath::rel_path_to() to avoid resizing a
Vector many times for long paths (with copy-on-write each time). Now
it's down to 2 resize calls in any case.
Diffstat (limited to 'doc/Doxyfile')
0 files changed, 0 insertions, 0 deletions