[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Benchmark
- From: erik@... (Erik Hougaard)
- Date: Tue, 20 Jul 1999 21:21:28 +0200
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.)
Ofcause ... What I was after is that the benchmark itself must be static
so that we are optimizing the tested and not the test ;-)