Ivan Bessonov created IGNITE-19810:
--------------------------------------
Summary: 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
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)