Blender Git Loki
Git Commits -> Revision 91d882a
Revision 91d882a by Campbell Barton (master) August 11, 2017, 08:11 (GMT) |
RNA: Use hash lookups for structs Adding structs was checking for duplicates causing approx 75k string comparisons on startup. While overall speedup is minimal, Python access to `bpy.types` will now use a hash lookup instead of a full linked list search. See D2774 |
Commit Details:
Full Hash: 91d882a8c9e43d1b274718ee827e6f14d960ab47
Parent Commit: 0398ee1
Lines Changed: +57, -34
5 Modified Paths:
/source/blender/makesrna/intern/makesrna.c (+13, -7) (Diff)
/source/blender/makesrna/intern/rna_access.c (+6, -7) (Diff)
/source/blender/makesrna/intern/rna_define.c (+22, -9) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+13, -11) (Diff)
/source/blender/makesrna/intern/rna_access.c (+6, -7) (Diff)
/source/blender/makesrna/intern/rna_define.c (+22, -9) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+13, -11) (Diff)