accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-450) Key hashCode should include timestamp
Date Wed, 07 Mar 2012 19:54:57 GMT
Key hashCode should include timestamp
-------------------------------------

                 Key: ACCUMULO-450
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-450
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.3.5, 1.4.0
            Reporter: Keith Turner
            Priority: Minor
             Fix For: 1.4.1


The hashCode function for the Key class does not include the timestamp.  If someone were to
create a HashSet or HashMap of keys were only the timestamp differed, then performance would
be O(N).  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message