Location:
Search - boyer moore m
Search list
Description: 匹配算法,Boyer-Moore-Hospool匹配算法
这个算法在大文件中搜索小pattern有很高效率。
推荐用来代替strstr()
这个实现我没有测过,不过应该不会有大问题。
C++的代码,容易使用:) -matching algorithm, Boyer- Moore-Hospool matching algorithm The algorithm in document search small pattern has a high efficiency. Suggest to replace strstr () I did not realize the test before but there should not be a big problem. C code, easier to use :)
Platform: |
Size: 1024 |
Author: 彭诗力 |
Hits: