harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Kishenko" <dkishe...@gmail.com>
Subject Re: [optimization] Algorithmic tricks
Date Wed, 26 Jul 2006 21:21:49 GMT
2006/7/26, Krzysztof Sobolewski <jezuch@interia.pl>:
> How about
> return Arrays.hashCode(new Object[] {x, y, name});
> ?
> Short, concise, a bit allocation-heavy (esp. for primitives (boxing)), but
> for non-critical hashes should be fine.
> </lurker-mode-off>
Yep, good and simple way.I have already thought about this too.

-- 
Denis M. Kishenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message