removed 'pure' hack in vector's calls to memcmp