[Coverage] Comment

This commit is contained in:
Behdad Esfahbod 2022-11-24 14:58:42 -07:00
parent 06e2147a48
commit 6aaa16627c
1 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,9 @@ struct CoverageFormat1_3
bool intersects (const hb_set_t *glyphs) const bool intersects (const hb_set_t *glyphs) const
{ {
/* TODO Speed up, using hb_set_next() and bsearch()? */ /* TODO Speed up, using hb_set_next() and bsearch()?
* Experience with other tables suggest that it would
* not speed up though. */
for (const auto& g : glyphArray.as_array ()) for (const auto& g : glyphArray.as_array ())
if (glyphs->has (g)) if (glyphs->has (g))
return true; return true;