You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2015/02/22 10:30:11 UTC

[jira] [Created] (CASSANDRA-8847) Improve MD5Digest.hashCode()

Robert Stupp created CASSANDRA-8847:
---------------------------------------

             Summary: Improve MD5Digest.hashCode()
                 Key: CASSANDRA-8847
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8847
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Robert Stupp
            Assignee: Robert Stupp
            Priority: Trivial
             Fix For: 2.1.4
         Attachments: md5digest.txt

{{MD5Digest.hashCode}} always calculates the hash code when queried. Simple fix is to pre-calculate the hash code in the constructor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)