[Mono-list] System.Drawing.Drawing2D

Miguel de Icaza miguel@ximian.com
24 Aug 2001 13:22:19 -0400


> just look at your code:
> 	 public override int GetHashCode()
> 	  {
> 	      // TODO: find a better hash function than det(M)
> 	      return (int)(m[0] * m[3] - m[2] * m[1]);
> 	  }

Also, using xors is faster than using multiplications.