Roberto Ierusalimschy 28 年之前
父节点
当前提交
9cdeb275e7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ltm.c

+ 2 - 2
ltm.c

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: ltm.c,v 1.5 1997/11/03 20:45:23 roberto Exp roberto $
+** $Id: ltm.c,v 1.6 1997/11/04 15:27:53 roberto Exp roberto $
 ** Tag methods
 ** Tag methods
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -67,7 +67,7 @@ static void init_entry (int tag)
 void luaT_init (void)
 void luaT_init (void)
 {
 {
   int t;
   int t;
-  IMtable_size = NUM_TAGS;
+  IMtable_size = NUM_TAGS*2;
   last_tag = -(NUM_TAGS-1);
   last_tag = -(NUM_TAGS-1);
   luaT_IMtable = luaM_newvector(IMtable_size, struct IM);
   luaT_IMtable = luaM_newvector(IMtable_size, struct IM);
   for (t=last_tag; t<=0; t++)
   for (t=last_tag; t<=0; t++)