accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-653) Use equals instead of compareTo when comparing Keys
Date Tue, 26 Jun 2012 21:32:42 GMT
Billie Rinaldi created ACCUMULO-653:

             Summary: Use equals instead of compareTo when comparing Keys
                 Key: ACCUMULO-653
             Project: Accumulo
          Issue Type: Task
          Components: client
            Reporter: Billie Rinaldi
            Assignee: Billie Rinaldi
             Fix For: 1.5.0

I recently learned that the Key equals method is much, much faster than the compareTo method.
 We should make sure to use equals when doing boolean comparisons (= and !=), and convert
less than/greater than comparisons to boolean where possible.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message