Do-download.com
 Web Development  /   Java & JavaScript  /  Boyer 1.5 Free Download
 
"Fast string search (indexOf) using the Boyer-Moore algorithm"

Quick Download Boyer 1.5
 


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.

 
Related Search For Boyer

Download Sites :
      mindprod.com

Boyer
Version:1.5
File Size:585 KB
Last updated:2007-05-21
License:Free Trial   $0.00
OS:9x/ME/XP/NT/2000/2003
Author:Canadian Mind Products
Related Software
  • Search & Replace Master 1.2
    =============================== Search & replace the text in your files in seconds. =============================== A free software from KnowleSys. Search & Replace...
  • RQ Search and Replace 1.53
    The program RQ Search and Replace is used to search and replace multiple text fragments in several files
  • RQ Search and Replace 1.54
    The program RQ Search and Replace is used to search and replace multiple text fragments in several files . The fragments (objects) are: 1. Text (multistring) bloks 2. Text strings 3. Whole words 4. Enclosed blocks 5. HTML tags and...
Statement
Do-download.com do not supply any crack, patches,torrent, password, serial numbers, registration codes, key generators, cd key, hacks or keygen for the software,and please consult directly with program authors (Canadian Mind Products) if you have any problem with the software.


COPYRIGHT (C) 2005 - 2015 , Gdosoft Associates . ALL RIGHT RESERVED