accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-450) Key hashCode should include timestamp
Date Thu, 08 Mar 2012 14:33:57 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225224#comment-13225224
] 

John Vines commented on ACCUMULO-450:
-------------------------------------

I'm just worried about the impact of making this sort of change mid-release. I think it should
be done in a .0 release.
                
> 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