Python学习笔记_字典(Dict)_遍历_不同方法_性能测试对比
摘要:今天专门把python的字典各种方法对比测试了一下性能效果.测试代码如下: 1 def dict_traverse(): 2 from time import clock 3 my_dict = {'name': 'Jim', 'age': '20', 'height': '180c...
阅读全文
posted @ 2015-01-06 16:16
浙公网安备 33010602011771号