[
https://issues.apache.org/jira/browse/CASSANDRA-8730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312119#comment-14312119
]
Benedict edited comment on CASSANDRA-8730 at 2/9/15 2:37 PM:
-------------------------------------------------------------
OK, I've pushed an updated version that strips out all of the class cleanup and
only optimises each of the comparison methods; it also extends the current
timestamp comparison tests to exhaustively check all permutations of any single
byte, as well as a larger collection of random values that we compare
exhaustively with each other (rather than only enough to sort). I will perform
the class cleanup in CASSANDRA-8759 as a follow up.
was (Author: benedict):
OK, I've pushed an updated version that strips out all of the class cleanup and
only optimises each of the comparison methods; it also extends the current
timestamp comparison tests to exhaustively check all permutations of any single
bit, as well as a larger collection of random values that we compare
exhaustively with each other (rather than only enough to sort). I will perform
the class cleanup in CASSANDRA-8759 as a follow up.
> Optimize UUIDType comparisons
> -----------------------------
>
> Key: CASSANDRA-8730
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8730
> Project: Cassandra
> Issue Type: Improvement
> Reporter: J.B. Langston
> Assignee: Benedict
> Fix For: 2.1.4
>
>
> Compaction is slow on tables using compound keys containing UUIDs due to
> being CPU bound by key comparison. [~benedict] said he sees some easy
> optimizations that could be made for UUID comparison.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)