lua-users home
lua-l archive

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


>  Fri, 21 Feb 2003 09:09:57 -0300
>  Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>
>  > Please note,  that this way,  on typical 64  bit machines with  4 byte
>  > ints (Alpha,  SGI) it  is not possible  to specify a  threshold amount
>  > larger than 4GB, while they  might have more memory (actually, this is
>  > the reason why  they are there).
>  
>  I did not understand this point. Currently Lua specifies the threshold
>  as an int representing Kbytes: so the limit should be 2^31 * 2^10 bytes,
>  or 2^41 = 2 terabytes. Isn't that enough?
>  

As Albert Einstein said: "Mathematics is the art of avoiding calculations",
so never  ask a mathematician  (like me) about numbers...

So, well, yes, you are right, and I was confused. Sorry...

Juergen