Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1247

Convert type of ColumnFamily.id and CFMetaData.cfId to Integer

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              messi Folke Behrens
              Reporter:
              messi Folke Behrens
              Authors:
              Folke Behrens
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: