[aat-map] Micro-optimize a malloc

This commit is contained in:
Behdad Esfahbod committed 2025-02-05 00:08:29 +00:00
1 parent 3e27038fca
commit e99e6538d9
1 file changed
+1
+1
View File
@@ -88,6 +88,7 @@ hb_aat_map_builder_t::compile (hb_aat_map_t &m)
/* Sort features by start/end events. */
hb_vector_t<feature_event_t> feature_events;
feature_events.alloc (features.length * 2 + 1, true);
for (unsigned int i = 0; i < features.length; i++)
{
auto &feature = features.arrayZ[i];