ENH: optimize STRING_compare by using memcmp