Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8418 Off Heap improvements
  3. ISPN-8423

Remove metadata size integer in cases where we know the size

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 9.1.3.Final, 9.2.0.Beta1
    • None
    • None
    • None

    Description

      We store a type with the other metadata. This tells us whether the entry is IMMORTAL, MORTAL, TRANSIENT etc. In the case of known types we already know how large the metadata is. There is no reason to write an int stating this. This can remove 4 bytes in a lot of cases, especially now that rest uses a standard metadata.

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: