阅读背景:

修改Levenshtein距离算法不计算所有距离

来源:互联网 

I'm working on a fuzzy search implementation and as part of the implementation, we're using Apache's StringUtils.getLevenshteinDistance. At the moment, we're going for a specific maxmimum average response time for our fuzzy search. After various enhancements and with some profiling, the place where the most time is spent is calculating the Levenshtein distance. It takes up roughly 80-90% of the total time on search strings three letters or more.I'm working on a fuzzy search implementation an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: