Using `std::for_each` or `Vector<T>.forEach` will be faster.