From 8c688639605f3ec0b5a57d906cacc27981b066da Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 21 Aug 2013 16:02:30 -0300 Subject: [PATCH] initial size of string table (MINSTRTABSIZE) should be large enough to hold all strings needed by an empty Lua state --- llimits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llimits.h b/llimits.h index 4463e0c0..c60e1fd7 100644 --- a/llimits.h +++ b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.107 2013/05/29 14:04:15 roberto Exp roberto $ +** $Id: llimits.h,v 1.108 2013/06/19 14:27:00 roberto Exp roberto $ ** Limits, basic types, and some other `installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -155,7 +155,7 @@ typedef lu_int32 Instruction; /* minimum size for the string table (must be power of 2) */ #if !defined(MINSTRTABSIZE) -#define MINSTRTABSIZE 32 +#define MINSTRTABSIZE 64 /* minimum size for "predefined" strings */ #endif