cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1244) FBUtilities: small performance fixes and clean-ups
Date Thu, 01 Jul 2010 22:16:50 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884464#action_12884464
] 

Jonathan Ellis commented on CASSANDRA-1244:
-------------------------------------------

how many of these are actually demonstrably not premature optimization?

the loop unrolling, for instance, is definitely something I would expect the JIT to do automatically

> FBUtilities: small performance fixes and clean-ups
> --------------------------------------------------
>
>                 Key: CASSANDRA-1244
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1244
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Folke Behrens
>            Priority: Trivial
>         Attachments: FBUtilities-minor-perf-fixes.txt
>
>
> The following patch (against trunk) changes several methods in FBUtilities. Makes them
faster and/or cleaner.
> One method will be removed: encodedUTF8Length(). It does not detect surrogate pairs (4-bytes
sequences) and isn't used anywhere.

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


Mime
View raw message