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/07/03 02:07:51 UTC
[jira] Created: (CASSANDRA-1247) Convert type of ColumnFamily.id
and CFMetaData.cfId to Integer
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
Affects Versions: 0.7
Reporter: Folke Behrens
Attachments: ColumnFamily-id-as-Integer.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.
[jira] Commented: (CASSANDRA-1247) Convert type of ColumnFamily.id
and CFMetaData.cfId to Integer
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885025#action_12885025 ]
Hudson commented on CASSANDRA-1247:
-----------------------------------
Integrated in Cassandra #485 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/485/])
avoid frequent autoboxing by leaving cfId an Integer, and similar optimizations. patch by Folke Behrens; reviewed by jbellis for CASSANDRA-1247
> 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.
[jira] Updated: (CASSANDRA-1247) Convert type of ColumnFamily.id
and CFMetaData.cfId to Integer
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CASSANDRA-1247) Convert type of ColumnFamily.id
and CFMetaData.cfId to Integer
Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Folke Behrens updated CASSANDRA-1247:
-------------------------------------
Attachment: ColumnFamily-id-as-Integer.patch.txt
> 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
> Affects Versions: 0.7
> Reporter: Folke Behrens
> Attachments: ColumnFamily-id-as-Integer.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.
[jira] Updated: (CASSANDRA-1247) Convert type of ColumnFamily.id
and CFMetaData.cfId to Integer
Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Folke Behrens updated CASSANDRA-1247:
-------------------------------------
Attachment: ColumnFamily-id-as-Integer.v2.patch.txt
Patch now applies cleanly against latest version of trunk.
> 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
> Affects Versions: 0.7
> Reporter: Folke Behrens
> 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.
[jira] Updated: (CASSANDRA-1247) Convert type of ColumnFamily.id
and CFMetaData.cfId to Integer
Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Folke Behrens updated CASSANDRA-1247:
-------------------------------------
Attachment: (was: ColumnFamily-id-as-Integer.patch.txt)
> 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
> Affects Versions: 0.7
> Reporter: Folke Behrens
> 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.