7d8f3614a71879cea97408f9804a754a0c001755
Instead of counting the size of undo steps as they're being built, add up the size of all undo nodes as a final step when the undo step is finished. This is faster because it avoids incrementing the same size variable from many threads (which also wasn't threadsafe). I measured a 4% performance improvement in the brush benchmark file from #118145 (from 0.61s to 0.59s).
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
