[gpos] Minor micro-optimize

This commit is contained in:
Behdad Esfahbod 2022-11-28 14:09:21 -07:00
parent c769d7e181
commit 26ad7a6022
1 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,8 @@ struct PairPosFormat1_3
const PairSet& set = (this + _);
const PairValueRecord *record = &set.firstPairValueRecord;
for (unsigned i = 0; i < set.len; i++)
unsigned count = set.len;
for (unsigned i = 0; i < count; i++)
{
if (record->intersects (glyphset))
{