Free software download, over 150.000 software free downloads






Boyer 1.5 Build 9365

Fast string search (indexOf) using the Boyer-Moore algorithm.

Boyer





  • Version:1.5 Build 9365
  • Date Added:11/12/2011 1:25:14 AM
  • License:Freeware
  • Price:$0
  • Total Downloads:154
  • Last Week Downloads:3
  • Operating System:Windows 7/Vista/XP/2000

Publisher's description

Boyer Fast String search (indexOf) using the Boyer-Moore Algorithm. Incorporate this class into your own Javaprograms to rapidly search strings.use:import com.mindprod.Boyer.Boyer; Boyer b = new Boyer("dogcatwombat");int where = b.indexOf("cat");orint where = Boyer.indexOf("dogcatwombat","cat"); Boyer-Moore is about twice as fast as String.indexOf whenthe string you are searching in is 2K or over and thepattern you are searching for is 4 characters or longer.String.indexOf is particularly slow when the pattern beginswith a common letter such as "e". Boyer-Moore is fastestwhen the pattern is long and composed only of uncommonletters, e.g. "z" or "^". If you use a Char[] instead ofString for your text to be searched, it will run anadditional 33% FASTER. Boyer automatically reverts to String.indexOf when thatwould be faster.

Statement

Please be aware that downloadbee do not supply any crack, patches, serial numbers or keygen for Boyer,and please consult directly with program authors for any problem with Boyer.