[name] Pre-allocate array

This commit is contained in:
Behdad Esfahbod 2018-10-15 23:28:49 -07:00
parent c2aa409537
commit c783d36324
1 changed files with 1 additions and 0 deletions

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++)
{