[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Speed of #t
- From: Cuero Bugot <cbugot@...>
- Date: Mon, 13 Dec 2010 06:34:46 -0800
> Furthermore I wonder for what the current implementation of # makes
> any sense for an application except for strictly linear arrays, other
> than the t[#t +1]=v case which can perfectly be covered already with
> table.insert(t, v).
I did give an example of # usage that is not strict linear array:
http://lua-users.org/lists/lua-l/2010-05/msg00401.html
Maybe not the best use case, but still very handy !
Cuero
- References:
- Re: [ANN] Lua 5.2.0 (alpha) now available, Dirk Laurie
- Re: [ANN] Lua 5.2.0 (alpha) now available, Enrico Colombini
- Speed of #t (was: Re: [ANN] Lua 5.2.0 (alpha) now available, Dirk Laurie
- Re: Speed of #t, Enrico Colombini
- Re: Speed of #t, Axel Kittenberger
- Re: Speed of #t, Enrico Colombini
- Re: Speed of #t, David Kastrup
- Re: Speed of #t, Enrico Colombini
- Re: Speed of #t, David Kastrup
- Re: Speed of #t, Enrico Colombini
- Re: Speed of #t, Roberto Ierusalimschy
- Re: Speed of #t, Axel Kittenberger