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

Vladimir Ozerov resolved IGNITE-1961.
-------------------------------------
    Resolution: Fixed

> Binary reader: do not read field position from footer in case of successful 
> speculation.
> ----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1961
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1961
>             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 are trying to speculatively guess field ID and order. If 
> speculation succeeds (which is almost always true during normal 
> deserialization) we have pretty cool performance gain.
> However, when speculation succeeds we still reads field position from footer. 
> There is no need for this actually. Instead, we can rely on the fact that 
> stream is already positioned correctly.
> To employ this technique we must ensure that when field is read, stream 
> pointer is always set right after the field. Currently this is not the case 
> for "unmarshal" and "doReadPortableObject" methods in reader. They must be 
> reworked to allow for this opto.



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

Reply via email to