[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: IntPoint
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 05 Aug 2002 10:44:42 -0300
> when casting addresses to integers IBM OS400 translates pointers to
> small(<15 bit) non-unique integers. (OS400 pointers are 128 bits, int is
> 32 bits).
>
> Does any body know if this will bust anything in Lua?
No problem, as long as the cast is a function (that is, equal pointers
translate to equal integers). The worst that can happen is a poor
performance when using functions/tables/userdata as keys into tables.
-- Roberto