HBASE-2635. Fixes for ImmutableBytesWritable

Review Request #110 - Created May 31, 2010 and submitted

Todd Lipcon
old-hbase
HBASE-2635
hbase
Various fixes + unit test


  1. +1
  2. Why this change?  Faster and good enough?
  3. 
      
  1. 
      
  2. Before we were hashing the entire byte array, not just the section of bytes corresponding to this writable. So the hashcode could be different even if the sliced bytes were the same. See new unit test for hashcode.
  3. 
      
Loading...