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

Aleksandr Polovtcev updated IGNITE-19810:
-----------------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> Don't store BinaryRow as a single array
> ---------------------------------------
>
>                 Key: IGNITE-19810
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19810
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Bessonov
>            Assignee: Aleksandr Polovtcev
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now, binary row manipulations lead to garbage byte[] instances, because 
> schema version is prepended as 4 bytes in the beginning of the array. This is 
> absolutely unnecessary and there are no benefits to such approach.
> Methods `org.apache.ignite.internal.schema.BinaryRow#bytes` / 
> `org.apache.ignite.internal.schema.BinaryRow#byteBuffer` are a part of a very 
> old design, we should revisit them, and hopefully remove them. This will 
> affect serialization, but it's worth it imo.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to