New results from "dictionary word count" programs...

Bryan Sant bryan.sant at gmail.com
Fri Mar 24 12:53:45 MST 2006


On 3/20/06, Bryan Sant <bryan.sant at gmail.com> wrote:
> Java (1.5 using -server)
> ------
> Avg Time:  6.81
> LOC:  25

So, I refactored the Java code to use Java NIO (which is using mmap()
under the covers).  Also, I'm using Java 6 instead of 5.

Java (1.6 using -server)
------
Avg Time:  2.92
LOC:  53

The source is attached.

-Bryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DictWords.java
Type: text/x-java
Size: 1513 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20060324/128bdda8/attachment.bin 


More information about the PLUG mailing list