Re: Lua Benchmark
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua Benchmark
- From: erik@... (Erik Hougaard)
- Date: 1999年7月20日 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.)
> --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 ;-)
/Erik