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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 1
    • None
    • 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

            messi Folke Behrens
            messi Folke Behrens
            Folke Behrens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: