Blender Git Loki

Git Commits -> Revision e5ab2b9

Revision e5ab2b9 by Campbell Barton (master)
March 4, 2019, 16:10 (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.# Please enter the commit message for your changes. Lines starting

Note, this was reverted recently because it caused T62181
Changes to DNA_sdna_patch_struct_member_nr were needed which
caused issues loading old 2.8x files.

Commit Details:

Full Hash: e5ab2b9c629edb172bc833f6862b736e543ba456
Parent Commit: 3730d16
Lines Changed: +68, -58

2 Modified Paths:

/source/blender/makesdna/DNA_sdna_types.h (+2, -0) (Diff)
/source/blender/makesdna/intern/dna_genfile.c (+66, -58) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021