cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-8847) Improve MD5Digest.hashCode()
Date Sun, 22 Feb 2015 09:30:11 GMT
Robert Stupp created CASSANDRA-8847:

             Summary: Improve MD5Digest.hashCode()
                 Key: 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

View raw message