会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yjy888
博客园
首页
新随笔
联系
订阅
管理
2020年8月24日
dic1.update(dic2)和{**dic2, **dic1}的区别
摘要: dic.update容易造成垃圾无法回收 例如 1 self.all_customer_dic.update(all_customer_dic) del all_customer_dicgc.collect()依然占用1.55GB但是使用 2、self.all_customer_dic = {**a
阅读全文
posted @ 2020-08-24 10:42 yjy888
阅读(873)
评论(0)
推荐(0)
编辑
公告