Blogger Information
Blog 77
fans 0
comment 2
visits 55719
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
hash表的优化思路
南瓜又个梦
Original
602 people have browsed it

问题:如何使读取hash[i]最快
解决思路:
对hashTable中的value进行排序
1,二分法
2,除以某个数,用商和余数来对应查找,如果余数相同就顺延
3,用字符串对应的ASCLL码做索引,依次匹配

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post