Comparison: when operator<() is better than opCmp()

BCS ao at pathlink.com
Fri Sep 7 23:19:48 PDT 2007


Reply to Giuseppe,

> Hello all,
>
one nit:
 
>
> whose result will be compared with 0 to determine the outcome.

IIRC on most systems you can get "cmp to 0" with little more than a jump 
so that one is a freebe.





More information about the Digitalmars-d mailing list