Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
Follow up to CASSANDRA-9701. I had hoped to precompute a total order on the ColumnIdentifier, but decided this would be too risky, with the necessary periodic rebalancing. So instead, I've hoisted the first 8 bytes of any name into a long which we can compare to short-circuit all of the expensive work of ByteBufferUtil.compareUnsigned, making this another very trivial patch (of debatable necessity to be distinct, but I've already snuck one extra change in to the previous ticket).