Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
CellComparator#compareRows compares two rows. For Scans and Gets these objects can sometimes be exactly the same object.
I see this (without fully understanding everything that's going on) for the first cell in each row.
In these circumstances I think it makes sense to short-circuit the comparison (not do a byte comparison and class cast checks) and bail out early if the objects are identical.