From 2440372c16fd1e479ad8aa346f6006dbf795a74c Mon Sep 17 00:00:00 2001 From: "Sunrim KIM (keen)" <3han5chou7@gmail.com> Date: Mon, 27 Oct 2014 14:14:13 +0900 Subject: [PATCH 1/2] restore tuned config --- include/picrin/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/picrin/config.h b/include/picrin/config.h index 76c30066..889e268b 100644 --- a/include/picrin/config.h +++ b/include/picrin/config.h @@ -58,11 +58,11 @@ #endif #ifndef PIC_ARENA_SIZE -# define PIC_ARENA_SIZE 1000 +# define PIC_ARENA_SIZE (8 * 1024) #endif #ifndef PIC_HEAP_PAGE_SIZE -# define PIC_HEAP_PAGE_SIZE 10000 +# define PIC_HEAP_PAGE_SIZE (2 * 1024 * 1024) #endif #ifndef PIC_STACK_SIZE @@ -74,7 +74,7 @@ #endif #ifndef PIC_SYM_POOL_SIZE -# define PIC_SYM_POOL_SIZE 128 +# define PIC_SYM_POOL_SIZE (2 * 1024) #endif #ifndef PIC_IREP_SIZE From e132236445579fcf672abf2a97c222081cb15005 Mon Sep 17 00:00:00 2001 From: "Sunrim KIM (keen)" <3han5chou7@gmail.com> Date: Mon, 27 Oct 2014 14:15:03 +0900 Subject: [PATCH 2/2] restore tuned config --- extlib/benz | 2 +- src/main.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/extlib/benz b/extlib/benz index a7ae88e2..2440372c 160000 --- a/extlib/benz +++ b/extlib/benz @@ -1 +1 @@ -Subproject commit a7ae88e224b797d2f094ff8c093b6bf5fbe5e7b7 +Subproject commit 2440372c16fd1e479ad8aa346f6006dbf795a74c diff --git a/src/main.c b/src/main.c index 656be69b..7d4f6fd1 100644 --- a/src/main.c +++ b/src/main.c @@ -2,10 +2,6 @@ * See Copyright Notice in picrin.h */ -#define PIC_ARENA_SIZE (8 * 1024) -#define PIC_HEAP_PAGE_SIZE (2 * 1024 * 1024) -#define PIC_SYM_POOL_SIZE (2 * 1024) - #include "picrin.h" #include "picrin/pair.h" #include "picrin/error.h"