numpy.empty is faster than numpy.zeros. The array is filled with default values, so the zeros are overwritten anyway