diff options
Diffstat (limited to 'lstring.c')
-rw-r--r-- | lstring.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstring.c,v 2.22 2012/02/01 21:57:15 roberto Exp roberto $ | 2 | ** $Id: lstring.c,v 2.23 2012/03/28 18:28:25 roberto Exp roberto $ |
3 | ** String table (keeps all strings handled by Lua) | 3 | ** String table (keeps all strings handled by Lua) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -19,17 +19,6 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | /* | 21 | /* |
22 | ** maximum length for short strings, that is, strings that are | ||
23 | ** internalized. (Cannot be smaller than reserved words or tags | ||
24 | ** for metamethods, as these strings must be internalized; | ||
25 | ** #("function") = 8, #("__newindex") = 10.) | ||
26 | */ | ||
27 | #if !defined(LUAI_MAXSHORTLEN) | ||
28 | #define LUAI_MAXSHORTLEN 40 | ||
29 | #endif | ||
30 | |||
31 | |||
32 | /* | ||
33 | ** Lua will use at most ~(2^LUAI_HASHLIMIT) bytes from a string to | 22 | ** Lua will use at most ~(2^LUAI_HASHLIMIT) bytes from a string to |
34 | ** compute its hash | 23 | ** compute its hash |
35 | */ | 24 | */ |