aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-21 16:02:30 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-21 16:02:30 -0300
commit8c688639605f3ec0b5a57d906cacc27981b066da (patch)
tree2c87719c9421d132cb4aa0a3c0018def2869c735 /llimits.h
parent8f6b80aa1da8b07b944738ece7eb1348b360df49 (diff)
downloadlua-8c688639605f3ec0b5a57d906cacc27981b066da.tar.gz
lua-8c688639605f3ec0b5a57d906cacc27981b066da.tar.bz2
lua-8c688639605f3ec0b5a57d906cacc27981b066da.zip
initial size of string table (MINSTRTABSIZE) should be large enough
to hold all strings needed by an empty Lua state
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h4
1 files 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 @@
1/* 1/*
2** $Id: llimits.h,v 1.107 2013/05/29 14:04:15 roberto Exp roberto $ 2** $Id: llimits.h,v 1.108 2013/06/19 14:27:00 roberto Exp roberto $
3** Limits, basic types, and some other `installation-dependent' definitions 3** Limits, basic types, and some other `installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -155,7 +155,7 @@ typedef lu_int32 Instruction;
155 155
156/* minimum size for the string table (must be power of 2) */ 156/* minimum size for the string table (must be power of 2) */
157#if !defined(MINSTRTABSIZE) 157#if !defined(MINSTRTABSIZE)
158#define MINSTRTABSIZE 32 158#define MINSTRTABSIZE 64 /* minimum size for "predefined" strings */
159#endif 159#endif
160 160
161 161