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] Updated: (CASSANDRA-1247) Convert type of ColumnFamily.id and CFMetaData.cfId to Integer
Date Sat, 03 Jul 2010 21:00:51 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-1247:
--------------------------------------

        Fix Version/s: 0.7
    Affects Version/s:     (was: 0.7)
             Priority: Minor  (was: Major)

> Convert type of ColumnFamily.id and CFMetaData.cfId to Integer
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-1247
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1247
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Folke Behrens
>            Assignee: Folke Behrens
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: ColumnFamily-id-as-Integer.v2.patch.txt
>
>
> The column family id is boxed and unboxed so many times it should be somewhat faster
to just pass around the same Integer. Memory won't fill up with Integers.
> The following patch sets type of ColumnFamily.id and CFMetaData.cfId to Integer and includes
some obvious auto-boxing optimizations.

-- 
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