[name] Pre-allocate array

This commit is contained in:
Behdad Esfahbod 2018-10-15 23:28:49 -07:00
parent c2aa409537
commit c783d36324

View File

@ -170,6 +170,7 @@ struct name
this->table->count);
this->names.init ();
this->names.alloc (all_names.len);
for (uint16_t i = 0; i < all_names.len; i++)
{