>>>>> "v" == v nainar <vnainar / mantraonline.com> writes:

v> How is the comparison done in the  second case ?

 ruby has some optimizations : if the 2 elements that it need to compare
 are both Fixnum, or both Strings it make internally the comparison and
 don't call <=>

Guy Decoux