diff options
Diffstat (limited to 'hieroglyph/hglist.c')
-rw-r--r-- | hieroglyph/hglist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hieroglyph/hglist.c b/hieroglyph/hglist.c index 01e24ff..2bb4dfe 100644 --- a/hieroglyph/hglist.c +++ b/hieroglyph/hglist.c @@ -31,6 +31,8 @@ #include "hgallocator-bfit.h" +#define HG_LIST_POOL_SIZE 16384 + enum { HG_LIST_MASK_UNUSED = 1 << 0, HG_LIST_MASK_LAST_NODE = 1 << 1, @@ -379,7 +381,7 @@ hg_list_init(void) __hg_list_allocator = hg_allocator_new(hg_allocator_bfit_get_vtable()); __hg_list_pool = hg_mem_pool_new(__hg_list_allocator, "HgList Pool", - 128, HG_MEM_GLOBAL | HG_MEM_RESIZABLE); + HG_LIST_POOL_SIZE, HG_MEM_GLOBAL | HG_MEM_RESIZABLE); hg_mem_pool_use_garbage_collection(__hg_list_pool, FALSE); __hg_list_initialized = TRUE; } |