accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-450) Key hashCode should include timestamp
Date Fri, 04 May 2012 23:15:48 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keith Turner resolved ACCUMULO-450.
-----------------------------------

    Resolution: Fixed
      Assignee: Keith Turner
    
> 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.4.0, 1.3.5
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> 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