I know this is focusing on the wrong thing but, here we go
Wouldn't it be nicer to compare the string four bytes at a time for all but the tail?
And then compare the tail by comparing the last four bytes, and ignoring the "extra work" because there's no condition that way?