Re: [ANNOUNCE] Lua 5.0 (alpha) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANNOUNCE] Lua 5.0 (alpha) now available
- From: Edgar Toernig <froese@...>
- Date: 2002年8月22日 02:04:26 +0200
John Belmonte wrote:
> I'm not sure what you're saying. Both your test and my original one
> show list and ipair as having the same time performance.
.oO(German proverb: Wer misst misst mist ;-)
http://lua-users.org/lists/lua-l/2002-02/msg00263.html
The tests were done with a small number of objects. The GC will take
much more time in real applications.
> Besides being arbitrary, it's more confusing than closures. Is avoiding
> the garbage there going to have any effect on a real program?
IMHO, iterating over an array is an often used construct and that
should scale well. Generating a junk object each time is not nice...
Ciao, ET.