]
William Burns updated ISPN-8423:
--------------------------------
Git Pull Request:
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.