Free Software Downloads, Free Games Downloads, Free GSM Software Downloads
Software vendor loginSubmit software programAdvertise with FiveSignContact informations
 
Free Software Downloads
Search: Search for software programs
ActiveX
Compilers & Interpreters
Components & Libraries
Databases & Networks
Debugging
IDEs & Coding Utilities
Java
Management & Distribution
Reference & Tutorials
Source Code
Tools & Editors
 

FiveSign Newsletter
Subscribe Unsubscribe
Enjoy receiving from FiveSign latest software news every week!


Bookmark us Add to Favorites
Set Home Page Set Home Page
Latest software programs Latest software programs
  Add to Firefox search bar


Boyer 1.5

 
You are here: Home > Software Development > Java > Boyer
 
Publisher: Canadian Mind Products
Release Date: 2007-05-21
File Size: 340 KB
OS: Win98, WinME, WinNT 3.x, WinNT 4.x, Windows2000, WinXP, Windows2003, Windows Vista Star
License: Freeware
Editor's rating: Not rated yet
Download Boyer
   
 
Boyer description
Boyer - Click to enlarge screenshot
Fast string search (indexOf) using the Boyer-Moore
algorithm. Incorporate this class into your own Java
programs to rapidly search strings.

use:
import com.mindprod.Boyer.Boyer;
...
Boyer b = new Boyer("dogcatwombat");
int where = b.indexOf("cat");
or
int where = Boyer.indexOf("dogcatwombat","cat");

Boyer-Moore is about twice as fast as String.indexOf when
the string you are searching in is 2K or over and the
pattern you are searching for is 4 characters or longer.

String.indexOf is particularly slow when the pattern begins
with a common letter such as "e". Boyer-Moore is fastest
when the pattern is long and composed only of uncommon
letters, e.g. "z" or "^". If you use a char[] instead of
String for your text to be searched, it will run an
additional 33% faster.

Boyer automatically reverts to String.indexOf when that
would be faster.

 
[ Download Boyer 1.5 ]
 

Boyer 1.5

RELATED TAGS
Boyer-Moore, string-search, search, indexOf, Java, fast-string-search
 
 
Copyright ©2005 - 2008 FiveSign Network Help | Link to us | Privacy Policy | Terms | Software Archives