iampigeon

2023年5月29日

python中测试方法所用的时间—timeit

摘要: ## 方法代码 #使用timeit方法测试两个函数的运行速度 import timeit strlist=['This is a long string that will nit keep in memory.' for n in range(10000)] def use_join():#使用字 阅读全文

posted @ 2023-05-29 17:57 阿苏勒的吕归尘 阅读(20) 评论(0) 推荐(0) 编辑

导航