cedric pushed a commit to branch master.

commit 10afabb68c70477dd22b7eb5afea2ad7d18459fa
Author: Cedric Bail <[email protected]>
Date:   Sun Apr 7 17:04:21 2013 +0900

    edje: increase item number in the mempool to reduce its over head.
---
 src/lib/edje/edje_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/edje/edje_main.c b/src/lib/edje/edje_main.c
index d94affe..425925e 100644
--- a/src/lib/edje/edje_main.c
+++ b/src/lib/edje/edje_main.c
@@ -82,7 +82,7 @@ edje_init(void)
 
    _edje_real_part_mp = eina_mempool_add("chained_mempool",
                                         "Edje_Real_Part", NULL,
-                                        sizeof (Edje_Real_Part), 32);
+                                        sizeof (Edje_Real_Part), 256);
    if (!_edje_real_part_mp)
      {
        ERR("Mempool for Edje_Real_Part cannot be allocated.");
@@ -91,7 +91,7 @@ edje_init(void)
 
    _edje_real_part_state_mp = eina_mempool_add("chained_mempool",
                                               "Edje_Real_Part_State", NULL,
-                                              sizeof (Edje_Real_Part_State), 
32);
+                                              sizeof (Edje_Real_Part_State), 
64);
    if (!_edje_real_part_state_mp)
      {
        ERR("Mempool for Edje_Real_Part_State cannot be allocated.");

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to