关于生成器和lambda列表的速度测试
import timeimport syss = time.time()x = [i for i in range(0,100000)]e = time.time()print(e-s) # 0.0029883384704589844for i in x: passprint(time.time()-e) # 0.002991199493408203print(time.time()-s) # 0.0059795379638671875def test(): x.