Billie Rinaldi created ACCUMULO-653:
---------------------------------------
Summary: Use equals instead of compareTo when comparing Keys
Key: ACCUMULO-653
URL: https://issues.apache.org/jira/browse/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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira