python一些优化方法

环境:pyhton2.7html 性能分析方法:运行时间较小为优python import time init_time = time.clock() func() last_time = time.clock() 性能时间times值的大小express times = last_time - init_time()   一:字符串链接 在python里面,字符串是不可变的(immutable)
相关文章
相关标签/搜索