lua-users home
lua-l archive

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


> > Does the naive approach (simply defining the macro to 'i=(int)d') work
> > effectively?
> >
> 
>      It works, it's just slow to a crawl.

It is slower than the non-naive approach, but I would not say that it
is that slow, mainly if you dilute the performance penalty in a real
application (that does other things besides accessing integer arrays).

-- Roberto