from memory_profiler import profile @profile def my_func(): a = [2] * (100 ** 6) b = [10] * (2 * 10 ** 7) del b return a if __name__ == '__main__': my_func ...
確定! 回上一頁