[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: A very basic thing I don't get
- From: joao lobato <btnfdp.lobato@...>
- Date: Sat, 1 Oct 2011 19:55:40 +0100
On 10/1/11, Stefan Reich <email@example.com> wrote:
> It's obviously a binary search to find the highest key. But does it
> even work? If there are nils in the table, it begins to act randomly.
> It may, among others, return the key before the lowest nil - or the
> highest key in the array.
That's why the length operator is undefined for non-sequences.