[
https://issues.apache.org/jira/browse/IGNITE-19810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Polovtcev reassigned IGNITE-19810:
--------------------------------------------
Assignee: Aleksandr Polovtcev
> 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
>
> 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)