lua-users home
lua-l archive

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

Luiz Henrique de Figueiredo wrote:
> >From the "correctness" perspective x should be a global variable,
> >otherwise your would not be able to read the sieve list afterward.
> You can always return x. The variable is local, but not the table it contains.
> (If you do not return it, it will be collected as garbage, though.)
> --lhf

Ofcause ... What I was after is that the benchmark itself must be static
so that we are optimizing the tested and not the test ;-)