In most cases, there is no significant performance difference between np.empty() and np.zeros()
np.empty()
np.zeros()
However, np.zeros() may be slightly slower due to the additional step of initializing the allocated memory to zero: 2 * O(n)
2 * O(n)