sponsored links
Boyer
Fast string search (indexOf) Boyer-Moore algorithm.
Description
"Fast string search (indexOf) Boyer-Moore algorithm."
indir.biz Editor: Fast String Search (indexOf)-Moore
algorithm using the Boyer. Included in this class itself
Java programs faster search strings.
Use:
com.mindprod.Boyer.Boyer imports;
Boyer b = new Boyer ( "dogcatwombat");
int where = b.indexOf ( "cat");
or
int where = Boyer.indexOf ( "dogcatwombat", "cat");
Boyer-Moore, looking two times as fast when String.indexOf
2K or over and are looking for in a string
4 characters or longer is the pattern is you.
String.indexOf particular pattern starts slow
for example with a common letter "e" like. Boyer-Moore fastest
long-time pattern, and only rare
letters which, for example, "z" or "^". If a Char [] instead
String to search for text, a
additional 33% faster. Will run on
When it returns automatically String.indexOf Boyer
It would be faster. Boyer can now download free 1.5.
sponsored links
Visitor rates
10 Star
32
Member rates
10 Star
29
Ortalama oy:
3,8