最后我们看看1、2改进后方案的速度,在这里我们用了ipython内建的测速方案%timeit。结果提升了百倍。 %timeit fac1(50). 7.76 µs ± 215 ns per loop (mean ...
確定! 回上一頁