mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 10:04:24 +01:00
[gsubgpos] Conditionally cache backtrack again
This commit is contained in:
1 parent
52237eb1fe
commit
5c8f3b7fec
1 file changed
+1
-1
@@ -3639,7 +3639,7 @@ struct ChainContextFormat2_5
|
||||
/* match_class_caches1 is slightly faster. Use it for lookahead,
|
||||
* which is typically longer. */
|
||||
struct ChainContextApplyLookupContext lookup_context = {
|
||||
{{match_class,
|
||||
{{cached && &backtrack_class_def == &lookahead_class_def ? match_class_cached1 : match_class,
|
||||
cached ? match_class_cached2 : match_class,
|
||||
cached ? match_class_cached1 : match_class}},
|
||||
{&backtrack_class_def,
|
||||
|
||||
Reference in new issue
Block a user