forked from enlightenment/efl
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:
parent
ccd5441b8f
commit
5f1e44ddad
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue