Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
adobe reader 在其查找功能中使用哪种排序算法,以便能够在几秒钟内从非常大的文档中搜索任何模式?
我不确定 Adobe 正在使用什么,但我猜想它可能是一些已知的快速字符串匹配算法(可能是 Rabin-Karp、Boyer-Moore 或 KMP)可能同时在所有文档页面上并行运行。对于短文本字符串,这应该非常非常快。
希望这可以帮助!