[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Why use "floating point byte" in NEWTABLE opcode?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 30 May 2013 06:41:59 -0300
> In the NEWTABLE opcode, the field B and C,which is the array and hash size
> of the table,respectively,use the so-called "floating point byte" with
> unsigned int.
> I guess the "floating point byte" can support more data range than the raw
> unsigned int, is it right?
It can support a range larger than unsigned int, although the
functions that Lua use to support it cannot. Its purpose
is to pack such range into a single byte.