Can anyone provide any concrete evidence of performance when comparing
int = int
and:
string = string
in
Comparing integers should be faster, at the very low level it will end up with 1 cmp
instruction. Comparing string involves more instructions, and as a result, worse performance.
I assume you either have or don't have indexes on both fields, indexes are equally selective, number of records also the same