lua-users home
lua-l archive

Re: pairs(t, skey) and ipairs(t, skey)

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


As i said previously, the actual cost was so small i was unable to measure it ... Certainly it was less than .001%
--Tim
On Oct 6, 2013, at 6:44 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
>> I think I prefer my approach, which had a very small incremental overhead at inserts (so was n * O(1)), but O(1) behavior for #.
> 
> But this implies a cost for all uses and users. Not everyone needs or uses #.
> We prefer that cost be paid by those who need it.
> 

AltStyle によって変換されたページ (->オリジナル) /