Not really.

It can check first.  That doesn't take long.

On Sun, Oct 31, 2010 at 7:11 PM, Gilles Sadowski <
gil...@harfang.homelinux.org> wrote:

> Alternatively we could call this utility function from within the
> constructor (and in the "evaluate" method), in all cases, in order to make
> sure that the array is sorted.  But that has the disadvantage that in some
> (most?) cases it will perform a useless sort on an already sorted array.
>

Reply via email to