[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Extending array types in Ravi
- From: Dibyendu Majumdar <mobile@...>
- Date: Sun, 8 Nov 2015 18:25:23 +0000
On 3 November 2015 at 13:26, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> Did you consider an inline expansion of short string keys?
The constants that represent keys for a table in expressions like:
t.name
can the compiler assume that the pointer to 'name' string will never
change - i.e. can the JIT compiler treat the pointer as an integer
(intptr_t) literal? This seems logical to expect but just wanted to be
sure.
Regards
Dibyendu