Optimize SameText/Str for the case when strings have different length
I noticed that SameText/Str unconditionally call CompareText/Str() (this is also mentioned in the documentation). But since these functions do bytewise comparison, it doesn't make sense to call Compare*() if strings have different length.
Edited by Daniel Plakhotich