# for i in range(10):
# t1 = Thread(target=函数, args=(,))
# t.append(t1)
# # t1.start()
# for h in t:
# h.join()
# 共耗时: 26.087260484695435 500
# for i in range(10):
# t1 = Thread(target=函数, args=(,))
# t.append(t1)
# for h in t:
# h.start()
# h.join()
# 共耗时: 118.04923677444458 500
# 共耗时: 11.772562742233276 100 mold=2标签:10,Thread,python,t1,耗时,线程,mold From: https://www.cnblogs.com/lld76/p/16733000.html
# 共耗时: 5.084351539611816 100 mold=5
# 共耗时: 5.288897514343262 100 mold=10
# mold为线程数 100为遍历数量
# 可以发现有极限,当10个线程与5个线程时所耗的时间差不多,反而10个线程还要比5个线程耗时多