关于set的unordered特性
关于set排序无序的问题,原因是set使用哈希表做内存索引。
详细介绍可见:
https://stackoverflow.com/questions/12165200/order-of-unordered-python-sets
和维基:
posted on 2017-07-14 11:15 freshair_cn 阅读(195) 评论(0) 编辑 收藏 举报
关于set排序无序的问题,原因是set使用哈希表做内存索引。
详细介绍可见:
https://stackoverflow.com/questions/12165200/order-of-unordered-python-sets
和维基:
posted on 2017-07-14 11:15 freshair_cn 阅读(195) 评论(0) 编辑 收藏 举报