lua-users home
lua-l archive

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



On Sat, Aug 20, 2016 at 11:27 Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> To this inexperienced and informally trained observer, first-nil length
> feels simple and clear and that always seems "right."

It is O(n), instead of O(log n) (that is, it is expensive).

-- Roberto



Then it is an important optimization.. Thank you. .

-Andrew