Blender Git Commit Log

Git Commits -> Revision 44ea61a

Revision 44ea61a by Campbell Barton (compositor-2016)
June 8, 2016, 19:45 (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.

Commit Details:

Full Hash: 44ea61ab470cc26b6bbc12f5d2bc3b659c72c0c0
Parent Commit: e69a5d8
Committed By: Jeroen Bakker
Lines Changed: +567, -14

1 Modified Path:

/source/blender/editors/mesh/editmesh_undo.c (+567, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021