The optimized string functions already do word comparisons when that is possible and advantageous. The comparisons to extract the ordering vs just equality/nonequality are only on the first nonmatching byte.