Blender Git Loki

Git Commits -> Revision 0129178

Revision 0129178 by Erik Abrahamsson (master)
November 22, 2021, 17:23 (GMT)
UI: Use a map for block name lookups

Use a map to speed up search for UI block names.
Time to redraw the node editor was decreased from
around 75-120ms to 40-70ms in a tree with many
Geometry Nodes.

Differential Revision: https://developer.blender.org/D13225

Commit Details:

Full Hash: 012917837649676e9ec4b9c2d7d4f7bdfd408739
Parent Commit: 55c82d8
Lines Changed: +35, -14

9 Modified Paths:

/source/blender/editors/include/UI_interface.h (+2, -2) (Diff)
/source/blender/editors/interface/interface.c (+21, -3) (Diff)
/source/blender/editors/interface/interface_handlers.c (+1, -2) (Diff)
/source/blender/editors/interface/interface_region_popup.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_template_search_menu.cc (+2, -0) (Diff)
/source/blender/editors/screen/area.c (+3, -3) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -2) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021