ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1814) Portables: compact footer offsets.
Date Fri, 30 Oct 2015 08:19:28 GMT

     [ 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)

Mime
View raw message