[glyf] Use direct access to points array

Not necessary faster. Prep'ing for next change.
This commit is contained in:
Behdad Esfahbod committed 2025-02-09 12:38:38 +00:00
1 parent 19a152b47e
commit f68193a00a
1 file changed
+3 -2
+3 -2
View File
@@ -229,8 +229,9 @@ struct glyf_accelerator_t
if (consumer.is_consuming_contour_points ())
{
for (auto &point : all_points.as_array ().sub_array (0, count))
consumer.consume_point (point);
auto *points = all_points.arrayZ;
for (unsigned i = 0; i < count; i++)
consumer.consume_point (points[i]);
consumer.points_end ();
}