Home  »  Windows  »  Java & Javascript
boyer 1-5 build 9365
boyer 1-5 build 9365
Authorize : Freeware Free

Requirements : Java Runtime Environment 1.1 or higher

Publisher : Canadian Mind Products

OfficeWebsite : http://mindprod.com/

OS Support : Windows 7, Vista, XP, 2000

Servers
  • USA
Content
Fast string search (indexOf) using the Boyer-Moore algorithm.
EditByBSEditor: 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. you can free download Boyer 1.5 Build 9365 now.

Hot Download

New Download