smaller tables for machines with 8-bit alignment

This commit is contained in:
Roberto Ierusalimschy
2001-01-29 15:17:26 -02:00
parent fa8c44b510
commit 6b71a9cfe5
8 changed files with 69 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.h,v 1.88 2001/01/25 16:45:36 roberto Exp roberto $
** $Id: lobject.h,v 1.89 2001/01/26 15:58:50 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -178,11 +178,13 @@ typedef struct Closure {
typedef struct Node {
TObject key;
TObject val;
struct Node *next; /* for chaining */
int key_tt; /* (break object to save padding space) */
Value key_value;
TObject val;
} Node;
typedef struct Hash {
Node *node;
int htag;