Jump to content

The Safe Free Download Site

Why not become a full member?, it's fast, free and allows you to participate in our forums and add or comment on our free software, leave reviews, access unlimited free downloads and more! - we NEVER share your details with anyone else, that's a promise! ... REGISTER FREE TODAY





READ / WRITE REVIEWS File Information

  • Submitted: Mar 17 2009 11:16 AM
  • Last Updated: Mar 17 2009 11:16 AM
  • File Size: 545.49K
  • Views: 647
  • Downloads: 22
  • Will Run On: 98/ME/Xp/Vista/Mac OS X/Linux
  • Author's Site: Click Here

Boyer 1.5

- - - - -

Download Now



Screenshots
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.



Link To This File


free download




Comments and Reviews for Boyer 1.5

Register now to add a quick comment to this file below or alternatively you can add a more detailed review HERE and include, for example, details such as good/bad points, any specific advantages over similar software, features you found useful and so on. Please be aware that all reviews are subject to a minimum of 150 words and should preferably (but not compulsory) contain screenshots.

Your Comments

Register now to add your comments and help others decide if Boyer 1.5 could be something of interest of them.



  • 9,502 Total Files
  • 128 Total Categories
  • 153 Total Authors
  • 1,002,526 Total Downloads
  • Predator Free Edition Latest File

22 user(s) are online (in the past 15 minutes)

0 members, 21 guests, 0 anonymous users


Google