摘要: 今天遇见一个奇怪的问题,在python中,对自定义类型的局部变量竟然不进行垃圾回收 测试代码如下 # encoding=utf-8 from memory_profiler import profile import gc import time class A(object): def __ini 阅读全文
posted @ 2020-03-09 23:16 starry_sky 阅读(410) 评论(0) 推荐(0) 编辑