misc improvements
do a word-by-word comparison if a char-by-char comparison isn't fast

word-by-word comparisons scale much better