[ 
https://issues.apache.org/jira/browse/IGNITE-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Ozerov updated IGNITE-1814:
------------------------------------
    Component/s: interop

> Portables: compact footer offsets.
> ----------------------------------
>
>                 Key: IGNITE-1814
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1814
>             Project: Ignite
>          Issue Type: Task
>          Components: general, interop
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Critical
>             Fix For: 1.5
>
>
> Currently we write field offset as int (4 bytes). 
> But in most cases object will have length <256 bytes, or at least <65536 
> bytes. So we can write these offsets as 1 or 2 bytes instead of 4.
> Let's do the following:
> 1) If object length < 256 bytes, write offsets as 1 bytes, set 0x4h flag in 
> header.
> 2) If object length < 65536 bytes, write offsets as 2 bytes, set 0x8h flag in 
> header.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to