[Coverage] Speedup intersect_set
This commit is contained in:
parent
efa388074d
commit
9e650b4e0c
|
@ -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;)
|
||||||
|
|
Loading…
Reference in New Issue