You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Folke Behrens (JIRA)" <ji...@apache.org> on 2010/08/13 15:47:17 UTC

[jira] Created: (CASSANDRA-1386) Even faster UUID comparisons

Even faster UUID comparisons
----------------------------

                 Key: CASSANDRA-1386
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1386
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Folke Behrens
            Priority: Minor
             Fix For: 0.7.0
         Attachments: timestamp-byte-order-comparison.patch.txt

Patch replaces "long" creation and comparion in TimeUUIDType with direct byte comparison in correct order. (Addition to CASSANDRA-1043).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1386) Even faster UUID comparisons

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-1386:
--------------------------------------

    Fix Version/s: 0.6.5

> Even faster UUID comparisons
> ----------------------------
>
>                 Key: CASSANDRA-1386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1386
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Folke Behrens
>            Assignee: Folke Behrens
>            Priority: Minor
>             Fix For: 0.6.5, 0.7 beta 2
>
>         Attachments: timestamp-byte-order-comparison.patch.txt, timestamp-byte-order-comparison.v2-conservative.patch.txt, timestamp-byte-order-comparison.v2-inlined.patch.txt
>
>
> Patch replaces "long" creation and comparion in TimeUUIDType with direct byte comparison in correct order. (Addition to CASSANDRA-1043).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-1386) Even faster UUID comparisons

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-1386.
---------------------------------------

      Reviewer: jbellis
    Resolution: Fixed

thanks!

committed -conservative version.  (timestamp ties are rare enough not to special case further, imo.)

> Even faster UUID comparisons
> ----------------------------
>
>                 Key: CASSANDRA-1386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1386
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Folke Behrens
>            Assignee: Folke Behrens
>            Priority: Minor
>             Fix For: 0.7 beta 2
>
>         Attachments: timestamp-byte-order-comparison.patch.txt, timestamp-byte-order-comparison.v2-conservative.patch.txt, timestamp-byte-order-comparison.v2-inlined.patch.txt
>
>
> Patch replaces "long" creation and comparion in TimeUUIDType with direct byte comparison in correct order. (Addition to CASSANDRA-1043).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1386) Even faster UUID comparisons

Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Folke Behrens updated CASSANDRA-1386:
-------------------------------------

    Attachment: timestamp-byte-order-comparison.v2-conservative.patch.txt
                timestamp-byte-order-comparison.v2-inlined.patch.txt

> Even faster UUID comparisons
> ----------------------------
>
>                 Key: CASSANDRA-1386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1386
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Folke Behrens
>            Assignee: Folke Behrens
>            Priority: Minor
>             Fix For: 0.7 beta 2
>
>         Attachments: timestamp-byte-order-comparison.patch.txt, timestamp-byte-order-comparison.v2-conservative.patch.txt, timestamp-byte-order-comparison.v2-inlined.patch.txt
>
>
> Patch replaces "long" creation and comparion in TimeUUIDType with direct byte comparison in correct order. (Addition to CASSANDRA-1043).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1386) Even faster UUID comparisons

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898301#action_12898301 ] 

Jonathan Ellis commented on CASSANDRA-1386:
-------------------------------------------

the new compareByteArrays overload is unnecessary, the only code that compares something other than an entire byte[] is a test method.


> Even faster UUID comparisons
> ----------------------------
>
>                 Key: CASSANDRA-1386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1386
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Folke Behrens
>            Priority: Minor
>             Fix For: 0.7 beta 2
>
>         Attachments: timestamp-byte-order-comparison.patch.txt
>
>
> Patch replaces "long" creation and comparion in TimeUUIDType with direct byte comparison in correct order. (Addition to CASSANDRA-1043).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1386) Even faster UUID comparisons

Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Folke Behrens updated CASSANDRA-1386:
-------------------------------------

    Attachment: timestamp-byte-order-comparison.patch.txt

> Even faster UUID comparisons
> ----------------------------
>
>                 Key: CASSANDRA-1386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1386
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Folke Behrens
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: timestamp-byte-order-comparison.patch.txt
>
>
> Patch replaces "long" creation and comparion in TimeUUIDType with direct byte comparison in correct order. (Addition to CASSANDRA-1043).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.