[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANNOUNCE] Lua 5.0 (alpha) now available
- From: Edgar Toernig <froese@...>
- Date: Thu, 22 Aug 2002 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 ;-)
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...