Backed out changeset c02d1729f024: After Lubo's fix b2f68438b0e2 we can use Arrays.deepHashCode again.
1.1 --- a/benchmarks/matrix-multiplication/src/main/java/org/apidesign/benchmark/matrixmul/Matrix.java Wed Dec 26 17:43:31 2012 +0100
1.2 +++ b/benchmarks/matrix-multiplication/src/main/java/org/apidesign/benchmark/matrixmul/Matrix.java Thu Jan 03 16:25:58 2013 +0100
1.3 @@ -102,14 +102,7 @@
1.4 public int hashCode() {
1.5 int hash = 3;
1.6 hash = 97 * hash + this.rank;
1.7 - for (int i = 0; i < rank; i++) {
1.8 - for (int j = 0; j < rank; j++) {
1.9 - final int v = (int)data[i][j];
1.10 - if (v != 0) {
1.11 - hash *= v;
1.12 - }
1.13 - }
1.14 - }
1.15 + hash = 97 * hash + Arrays.deepHashCode(this.data);
1.16 return hash;
1.17 }
1.18 }