字典是按照hash存的,他会映射一个hash表,所以查找的时候根据一些算法会很快;
参考:
https://harveyqing.gitbooks.io/python-read-and-write/content/python_advance/python_dict_implementation.html
字典是按照hash存的,他会映射一个hash表,所以查找的时候根据一些算法会很快;
参考:
https://harveyqing.gitbooks.io/python-read-and-write/content/python_advance/python_dict_implementation.html
转载于:https://www.cnblogs.com/lighthouse/p/9540955.html