switch BLI_ghashutil_strhash() to "djb" hash (as used by glib),
authorCampbell Barton <ideasman42@gmail.com>
Tue, 11 Dec 2012 13:57:58 +0000 (13:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 11 Dec 2012 13:57:58 +0000 (13:57 +0000)
commit361eb23a42328c700a9d020be5896fed6bcd7f4a
treea914b470bd53c9eed19c8c25c198daac4168da01
parent3261338aef86cada814698442da9a9ec3658644c
switch BLI_ghashutil_strhash() to "djb" hash (as used by glib),

Gives approx 10% speedup in my own micro-benchmark looking up operators.
source/blender/blenlib/intern/BLI_ghash.c