[infinispan-issues] [JBoss JIRA] (ISPN-8423) Remove metadata size integer in cases where we know the size

William Burns (JIRA) issues at jboss.org
Tue Nov 7 12:52:00 EST 2017


     [ https://issues.jboss.org/browse/ISPN-8423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-8423:
--------------------------------
    Git Pull Request: https://github.com/infinispan/infinispan/pull/5566, https://github.com/infinispan/infinispan/pull/5569  (was: https://github.com/infinispan/infinispan/pull/5566)


> Remove metadata size integer in cases where we know the size
> ------------------------------------------------------------
>
>                 Key: ISPN-8423
>                 URL: https://issues.jboss.org/browse/ISPN-8423
>             Project: Infinispan
>          Issue Type: Sub-task
>            Reporter: William Burns
>            Assignee: William Burns
>             Fix For: 9.2.0.Beta1, 9.1.3.Final
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list