推导式

性能分析:

从时间时间比较(从小到大):集合、字典、元组、列表

从占用内存比较(从大到小):字典、集合、列表、元组

1.列表推到式:

2.字典推到式

原文地址:https://www.cnblogs.com/wdlrup/p/14629954.html