论文部分内容阅读
在汉语词典查询算法中,哈希表知道搜索捷径,然而数组只知道正式的路线,因而与标准的二分检索相比,哈希表的搜索速度比数组快多了。在算法中,如果能恰当地使用哈希表,就会极大地提高效率。
In the Chinese dictionary query algorithm, the hash table knows the search shortcuts, whereas the arrays only know the formal route, so the hash table searches much faster than the standard dichotomous search. In algorithms, if you use hash tables properly, you greatly increase your efficiency.