On Thu, Nov 24, 2005 at 09:37:25PM +0900, Robert Klemme wrote:
> v.nainar wrote:
> > I may be missing something obvious . Why  is the '<=>' operator not
> > called  when there is no block supplied to sort ?.The Pickaxe book
> > says ( apropos  Array.sort ):
> >   " Comparisons for the sort will be done using the <=> operoator OR
> >      using an optional  code block"
> > How is the comparison done in the  second case ?
>........
 
> AFAIK it's an internal optimization.
> 
>     robert
> 
> 
thanks  !
nainar