Blender Git Commit Log

Git Commits -> Revision 6572055

Revision 6572055 by Campbell Barton (master)
March 3, 2019, 16:00 (GMT)
DNA: optimize data reconstruction

Cache the result of DNA_elem_array_size which was being called
for each element when reconstructing each struct.

Also skip padding members during reconstruction.

Gives ~18% overall speedup loading 10_010_A.anim.blend (r3154)
from the spring project.

Commit Details:

Full Hash: 657205530cc680012734200a8babd6232be5ee92
Parent Commit: 647c26c
Lines Changed: +60, -57

2 Modified Paths:

/source/blender/makesdna/DNA_sdna_types.h (+2, -0) (Diff)
/source/blender/makesdna/intern/dna_genfile.c (+58, -57) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021