diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-20 18:23:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-20 18:23:43 +0400 |
commit | d4dec1c3bcc8fa85e8f4cf3372efe077648a67bf (patch) | |
tree | 8ffb277fdc02a26fab0e6a9406dbc4947ec48312 /source/blender/makesdna/intern/SConscript | |
parent | a0a96a84fed4669ac80d09a2fb667c601c048d23 (diff) |
use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.
note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
Diffstat (limited to 'source/blender/makesdna/intern/SConscript')
-rw-r--r-- | source/blender/makesdna/intern/SConscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/SConscript b/source/blender/makesdna/intern/SConscript index e51ee53e078..8185676cbfc 100644 --- a/source/blender/makesdna/intern/SConscript +++ b/source/blender/makesdna/intern/SConscript @@ -67,5 +67,6 @@ else: else: dna.Command ('dna.c', '', root_build_dir+os.sep+"makesdna.exe $TARGET") +# TODO, get WITH_DNA_GHASH working, see CMake's 'WITH_DNA_GHASH' obj = ['intern/dna.c', 'intern/dna_genfile.c'] Return ('obj') |