Boyer 1.5


 Sponsored links


 Sponsored links
License:
Donationware
Category:
Developer Tools
Publisher:
Roedy-Green
Size:
539 KB
Last Updated:
2013-11-02
Operating System:
Mac OS X 10.0 or later
Price:
FREE
Download
Publisher's description - Boyer 1.5
 
 Sponsored links

Boyer allows you to perform fast string searches (indexOf) using the Boyer-Moore algorithm. Incorporate this class into your own Java programs to rapidly search strings.

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.

NOTE: Boyer is for non-military use only.

Requirements:

· Java 1.1 or later


 

Also See ...
Source Code Counter

Source Code Counter
Learn PhalconPHP

Learn PhalconPHP
PHP From Scratch

PHP From Scratch
Del

Del
QuickLens

QuickLens



More
2048 Plus

2048 Plus
Crazy Driver

Crazy Driver
Cactus

Cactus
BarcodePro

BarcodePro
Alphabet For Kids Edition

Alphabet For Kids Edition



Mac App
Alphabet For Kids Edition

Alphabet For Kids Edition
Four Card Keno

Four Card Keno
AppViz 2.0

AppViz 2.0
Credit Card Terminal 1.0.1

Credit Card Terminal 1.0.1
WordFrequency 1.0

WordFrequency 1.0