lua-users home
lua-l archive

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


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.