diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-16 07:28:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-16 07:35:38 +0300 |
commit | c0016a8581f3124d34dc8cf0a2a5c3374e72356a (patch) | |
tree | 36796183f4a3101f4e3e45c590689c092fc8269c /source/blender/nodes/NOD_static_types.h | |
parent | 4300050e20a7fa5c06a990c1f7df3792b7fed656 (diff) |
BLF: avoid unnecessary lookups in blf_kerning_cache_new
blf_kerning_cache_new was performing many unnecessary hash lookups,
calling blf_glyph_search 32768 times. Use a lookup table to reduce this
to the number of ASCII characters (128 calls).
Diffstat (limited to 'source/blender/nodes/NOD_static_types.h')
0 files changed, 0 insertions, 0 deletions