I ran a little loop in a jupyter notebook using the %timeit magic. The graph below gives the ratio of the time needed for numpy.zero to numpy.empty . For N=346 ...
確定! 回上一頁