use ghash for operator and menu types, was doing string lookup in the operator list...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 11 Aug 2011 06:06:17 +0000 (06:06 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 11 Aug 2011 06:06:17 +0000 (06:06 +0000)
commita7663cc37753abd97744b51739358fb6b8026883
tree5fe4e6bd695d42f47027c40c630f918bdec33294
parent0fac849d44d5bf8f2d3add9e10c03adbe5ffe331
use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.

gives small speedup for UI drawing and overall startup time.
source/blender/editors/interface/interface_templates.c
source/blender/editors/space_outliner/outliner_draw.c
source/blender/editors/space_view3d/view3d_toolbar.c
source/blender/python/intern/bpy_operator.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/intern/wm.c
source/blender/windowmanager/intern/wm_init_exit.c
source/blender/windowmanager/intern/wm_operators.c
source/blenderplayer/bad_level_call_stubs/stubs.c