[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Accessing String contents
- From: Geoff Leyland <geoff_leyland@...>
- Date: Fri, 22 Jun 2012 07:01:45 +1200
On 21/06/2012, at 10:08 PM, TNHarris wrote:
> Although then the local trick is sub-optimal to just writing
> string.sub everywhere.
What makes you say that? Generated code seems the same with and without "local sub = string.sub". As I understand it, you shouldn't alias the ffi object, but I didn't think that applied to other tables.