edje: increase item number in the mempool to reduce its over head.

This commit is contained in:
Cedric Bail 2013-04-07 17:04:21 +09:00
parent d27bdb4726
commit 10afabb68c
1 changed files with 2 additions and 2 deletions

View File

@ -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.");