From 6aaa16627c3d6c77da32e6b2019724385103581d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 24 Nov 2022 14:58:42 -0700 Subject: [PATCH] [Coverage] Comment --- src/OT/Layout/Common/CoverageFormat1.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/OT/Layout/Common/CoverageFormat1.hh b/src/OT/Layout/Common/CoverageFormat1.hh index 82fd48dc5..adc511e9d 100644 --- a/src/OT/Layout/Common/CoverageFormat1.hh +++ b/src/OT/Layout/Common/CoverageFormat1.hh @@ -77,7 +77,9 @@ struct CoverageFormat1_3 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 ()) if (glyphs->has (g)) return true;