|
From: <Yo...@us...> - 2008-04-10 03:40:46
|
Revision: 25
http://bailey.svn.sourceforge.net/bailey/?rev=25&view=rev
Author: Yonik
Date: 2008-04-09 20:40:49 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
Replace String.hashCode() with LOOKUP3 (fast and well studied) for getDefaultPosition. String.hashCode() isn't suitable if you are using all the bits, since most of the changes happen on the right. Also made a version of LOOKUP3 that is well defined for implementations in other languages.
Modified Paths:
--------------
trunk/src/java/org/apache/bailey/Document.java
Added Paths:
-----------
trunk/src/java/org/apache/bailey/util/Hash.java
trunk/src/test/org/apache/bailey/util/
trunk/src/test/org/apache/bailey/util/TestHash.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|