Blender Git Commit Log

Git Commits -> Revision a7663cc

Revision a7663cc by Campbell Barton (master)
August 11, 2011, 06:06 (GMT)
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.

Commit Details:

Full Hash: a7663cc37753abd97744b51739358fb6b8026883
SVN Revision: 39293
Parent Commit: 0fac849
Lines Changed: +110, -61

10 Modified Paths:

/source/blender/editors/interface/interface_templates.c (+7, -4) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+7, -3) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+7, -4) (Diff)
/source/blender/python/intern/bpy_operator.c (+10, -4) (Diff)
/source/blender/windowmanager/intern/wm.c (+38, -16) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+36, -25) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+0, -2) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021