Re: [optimization] hashCode() evolution

2006-07-30 Thread Spark Shen
Denis Kishenko 写道: 2006/7/28, Alexey Petrenko <[EMAIL PROTECTED]>: 2006/7/27, Denis Kishenko <[EMAIL PROTECTED]>: > Unfortunately > 1. class can has temporary private fields (see BasicStroke.java) We can mark such fields as transient. As for serialization. > 2. class can has final fields which

Re: [optimization] hashCode() evolution

2006-07-28 Thread Denis Kishenko
2006/7/28, Alexey Petrenko <[EMAIL PROTECTED]>: 2006/7/27, Denis Kishenko <[EMAIL PROTECTED]>: > Unfortunately > 1. class can has temporary private fields (see BasicStroke.java) We can mark such fields as transient. As for serialization. > 2. class can has final fields which take part in hash co

Re: [optimization] hashCode() evolution

2006-07-27 Thread Spark Shen
Denis Kishenko 写道: Let's continue discussion about hashCode() from thread "Algorithmic tricks". 2006/7/27, Spark Shen <[EMAIL PROTECTED]>: I do have a concern that in some classes, hash calculation does have very import impact, but in some others may not be so important, or may not be taken

[optimization] hashCode() evolution

2006-07-27 Thread Denis Kishenko
Let's continue discussion about hashCode() from thread "Algorithmic tricks". 2006/7/27, Spark Shen <[EMAIL PROTECTED]>: I do have a concern that in some classes, hash calculation does have very import impact, but in some others may not be so important, or may not be taken so heavy use. IMHO, the