[gsubgpos] Conditionally cache backtrack again

This commit is contained in:
Behdad Esfahbod committed 2023-07-16 09:39:18 -06:00
1 parent 52237eb1fe
commit 5c8f3b7fec
1 file changed
+1 -1
+1 -1
View File
@@ -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,