summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-07 21:19:15 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-07 21:20:00 +0100
commit5f1e44ddadf3e83306d72f2cf3212faf455a3e66 (patch)
tree910ccd079cd914f678f0fa965fb6573f3d6eba70 /src/lib/eina
parentccd5441b8f3fae59ddb9d3dcd75cb00340c8278c (diff)
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.
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c
index 357b341..319c9d1 100644
--- a/src/lib/eina/eina_log.c
+++ b/src/lib/eina/eina_log.c
@@ -1237,7 +1237,7 @@ eina_log_domain_register_unlocked(const char *name, const char *color)
1237 1237
1238 if (!_log_domains) 1238 if (!_log_domains)
1239 // special case for init, eina itself will allocate a dozen of domains 1239 // special case for init, eina itself will allocate a dozen of domains
1240 size = 24; 1240 size = 64;
1241 else 1241 else
1242 // grow 8 buckets to minimize reallocs 1242 // grow 8 buckets to minimize reallocs
1243 size = _log_domains_allocated + 8; 1243 size = _log_domains_allocated + 8;