Unique Words "Infinite" Counter for Java (UWICJ) does not need to know the size of the input stream before hand, the stream can be very large and it is not limited by the maximum file length or main memory size.
UWICJ uses a constant size (in the number of words) of the main memory that makes it O(1) bytes in an average case and lets it work with extremely long streams.
UWICJ processing consists of looking up the words in the dictionary and modifying the dictionary. The search part is done concurrently by several threads that allows UWICJ to scale with the number of CPU's. Modification part is done in bulks by a single thread when the limit on the bulk is reached.
UWICJ benefits from the fact that some words are more frequent and it processes such words faster than the others.UWICJ automatically adjusts itself to the changing frequencies of the words so that it preserves its performance benefits.
Please, send your comments and questions to uwicj at yahoo dot com
Downloads:
0 This Week