eina log - we exceet 24 domains alrready out of the box, so increase

this avoids more reallocs since we already use more than 24 domains...
go up to 64.
This commit is contained in:
Carsten Haitzler 2019-08-07 21:19:15 +01:00
parent ccd5441b8f
commit 5f1e44ddad
1 changed files with 1 additions and 1 deletions

View File

@ -1237,7 +1237,7 @@ eina_log_domain_register_unlocked(const char *name, const char *color)
if (!_log_domains)
// special case for init, eina itself will allocate a dozen of domains
size = 24;
size = 64;
else
// grow 8 buckets to minimize reallocs
size = _log_domains_allocated + 8;