Blender Git Commit Log
Git Commits -> Revision 91bfdac
Revision 91bfdac by Campbell Barton (master)
May 30, 2016, 06:23 (GMT)
Editmesh undo memory optimization
Previously a whole mesh was stored between undo steps,
This commit uses BLI_array_store to de-duplicate memory use between undo steps.
Memory saving depends entirely on kinds of edits performed,
in own tests 5x-15x less memory use is common.
Compacting the memory does give some overhead however its done in a background thread
so its not blocking in most cases.
New behavior and threading can be ifdef'd out to check for regressions.
See D2026 for details.
Full Hash: 91bfdacde262c4df18ade2e5266e5c969bb5f3af
Parent Commit: 8a7d1f3
Lines Changed: +567, -14
1 Modified Path:
/source/blender/editors/mesh/editmesh_undo.c (+567, -14) (Diff)