[Coverage] Speedup intersect_set

This commit is contained in:
Behdad Esfahbod 2022-07-21 12:01:52 -06:00
parent efa388074d
commit 9e650b4e0c
1 changed files with 0 additions and 1 deletions

View File

@ -144,7 +144,6 @@ struct CoverageFormat2_4
{ {
for (const auto& range : rangeRecord.as_array ()) for (const auto& range : rangeRecord.as_array ())
{ {
if (!range.intersects (glyphs)) continue;
unsigned last = range.last; unsigned last = range.last;
for (hb_codepoint_t g = range.first - 1; for (hb_codepoint_t g = range.first - 1;
glyphs.next (&g) && g <= last;) glyphs.next (&g) && g <= last;)