You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/10/30 09:19:28 UTC
[jira] [Updated] (IGNITE-1814) Portables: compact footer offsets.
[ 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)