
26 Sep
2011
26 Sep
'11
5:44 p.m.
Le 26/09/11 19:08, Andrew Sutton a écrit :
Not necessarily. It depends whether N heterogeneous comparisons is going to be faster or slower than one conversion and N homogeneous comparisons. For all you know, each of the N heterogeneous comparisons actually forces the same conversion in the end, and it ends up being much slower. Ah, yes. I hadn't considered that. Excellent point. The point is that the N heterogeneous comparison can avoid the conversion. If the interface force the conversion, this can not be avoided.
Best, Vicente