lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


| All four fields fit in a word. Changing it to short would force 'lsizenode'
| into another word.

I just test one script(which creates hundred of thousands of tables) with type(flags) = lu_bute, lu_int32 and lu_usint(unsigned short int) (and also made printf("%d",sizeof(Table)):
  lu_byte  - max 169MB  sizeof(Table)=36
  lu_int32 - max 195MB  sizeof(Table)=40
  lu_usint - max 169MB  sizeof(Table)=36