Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-10-02 13:57:11 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-10-02 16:42:04 +0300
commitc65c4149c9be8a1811eb389f657216fab071dfc5 (patch)
tree40df49fe0f142b0c27791f417411ed521427a482 /source/blender/makesrna
parentab72406dc347b428b5ef6981afd1ca45781f0ae6 (diff)
Cleanup: Refactor `ed_screen_context()` to use hash lookups
Refactor `ed_screen_context()` to use `GHash` lookups instead of a sequence of string comparisons. This should provide a nice speedup, given that the hash for `member` only has to be computed once instead of matching it to each possible string. Reviwed by: brecht Differential Revision: https://developer.blender.org/D9090
Diffstat (limited to 'source/blender/makesrna')
0 files changed, 0 insertions, 0 deletions