Blender Git Commit Log
Git Commits -> Revision c65c414
Revision c65c414 by Sybren A. Stüvel (master) October 2, 2020, 13:42 (GMT) |
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 |
Commit Details:
Full Hash: c65c4149c9be8a1811eb389f657216fab071dfc5
Parent Commit: ab72406
Lines Changed: +81, -138
1 Modified Path:
/source/blender/editors/screen/screen_context.c (+81, -138) (Diff)