lua-users home
lua-l archive

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


On Wed, Jun 01, 2011 at 11:49:59AM +0200, Duncan Cross wrote:
> 
> In summary, stateless iterators only work at all for certain simple
> kinds of iteration anyway (for example, string.gmatch() returns a
> stateful iterator, it just couldn't work as a stateless one) and the
> difference in performance with stateful iterators is only likely to
> come up if you are using them a *lot*, on the order of hundreds of
> thousands of times.
> 
Thanks.  You've set my mind at rest.  

Dirk