From d1f58e5762e9ed07cd8a6cffa1b7bfbf8a07178d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 31 Dec 2025 16:28:07 -0700 Subject: [PATCH] Tweak an unlikely This doesn't seem to slowdown benchmarks much, but speeds up Duployan by ~8%. --- src/hb-ot-layout-gsubgpos.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index 74f13b2a6..fde55b7a8 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -831,7 +831,7 @@ struct hb_ot_apply_context_t : if (glyph_props & match_props & LookupFlag::IgnoreFlags) return false; - if (unlikely (glyph_props & HB_OT_LAYOUT_GLYPH_PROPS_MARK)) + if (glyph_props & HB_OT_LAYOUT_GLYPH_PROPS_MARK) return match_properties_mark (info, glyph_props, match_props); return true;