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

[patch] don't duplicate ByteBuffers when hashing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.0
    • None
    • None

    Description

      given how often hashing of ByteBuffers occurs, don't duplicate the ByteBuffer when hashing. (trivial - as the byte array was never copied just the BB wrapper – but still).

      Attachments

        1. dont_dup_bb_for_hash.diff
          0.6 kB
          Dave Brosius
        2. dont_dup_bb_for_hash2.diff
          0.8 kB
          Dave Brosius

        Activity

          People

            dbrosius David Brosius
            dbrosius@apache.org Dave Brosius
            David Brosius
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: