Avoid a round trip to memory when summing accross a vector.