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

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

      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.

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

                Created:
                Updated:
                Resolved: