Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9706

Precompute ColumnIdentifier comparison

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0 alpha 1
    • 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).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            benedict Benedict Elliott Smith Assign to me
            benedict Benedict Elliott Smith
            Benedict Elliott Smith
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment