[subset/cff] Micro-optimize

This commit is contained in:
Behdad Esfahbod 2023-06-04 16:23:36 -06:00
parent a24025c90d
commit 126d144196

View file

@ -73,9 +73,10 @@ hb_plan_subset_cff_fdselect (const hb_subset_plan_t *plan,
for (hb_codepoint_t gid = 0; gid < subset_num_glyphs; gid++)
{
hb_codepoint_t old_glyph;
if (gid == it->first)
auto &_ = *it;
if (gid == _.first)
{
old_glyph = it->second;
old_glyph = _.second;
it++;
}
else