Skip to content

Commit

Permalink
1.2.2版本,改进IllegalWordsSearch算法。
Browse files Browse the repository at this point in the history
  • Loading branch information
toolgood committed Dec 26, 2016
1 parent ae3a659 commit 4ce5c30
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,27 @@ ToolGood.Words

字符搜索优化`StringSearch`

StringSearch : 31ms
TrieFilter : 153ms

StringSearch ToSenseWord : 191ms
FastFilter : 109ms

IllegalWordsSearch FindFirst : 53ms
StringSearch : 32ms

IllegalWordsSearch ContainsAny : 47ms
StringSearch ToSenseWord : 199ms

----------------------- Find All -----------------------------------
IllegalWordsSearch FindFirst : 54ms

IllegalWordsSearch ContainsAny : 52ms

TrieFilter : 1,381ms
----------------------- Find All -----------------------------------

FastFilter : 331ms
TrieFilter : 1,453ms

StringSearch : 384ms
FastFilter : 395ms

IllegalWordsSearch : 1,192ms
StringSearch : 405ms

IllegalWordsSearch : 1,201ms



Expand Down

0 comments on commit 4ce5c30

Please sign in to comment.