Allowing use of valarray with -DUSE_VALARRAY
std::memcmp for for loops