raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5f1e44ddadf3e83306d72f2cf3212faf455a3e66

commit 5f1e44ddadf3e83306d72f2cf3212faf455a3e66
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Aug 7 21:19:15 2019 +0100

    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.
---
 src/lib/eina/eina_log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c
index 357b341909..319c9d1c75 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)
 
         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;

-- 


Reply via email to