The hashcode computation must be fast in itself, at least significantly faster than 'equals' method invocations which return false.
I think that String.hashcode computation is kinda slow depending on the JDK because it iterates on ALL the characters of the String.
Mmmmm. Yes, I think you've sold me.
Paul
I still think that Paul's original point is valid. A millisecond is a long time on a computer these days.
What about using the first few characters of the message?
Ray
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]