From 540066c9e2cd89bd22201b18f09b5f7d7fbcd612 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Wed, 12 Sep 2012 16:20:32 +0900 Subject: mrb_sym can be short integer; reduced 10KB --- include/mrbconf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/mrbconf.h b/include/mrbconf.h index b4332adcd..d7ccb261d 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -62,11 +62,10 @@ typedef double mrb_float; #ifdef MRB_NAN_BOXING typedef int32_t mrb_int; -typedef int32_t mrb_sym; #else typedef int mrb_int; -typedef intptr_t mrb_sym; #endif +typedef short mrb_sym; /* define ENABLE_XXXX from DISABLE_XXX */ #ifndef DISABLE_REGEXP -- cgit v1.2.3