[
https://issues.apache.org/jira/browse/IGNITE-24107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17908825#comment-17908825
]
Pavel Pereslegin commented on IGNITE-24107:
-------------------------------------------
One of possible solutions - return expandable byte buffer and use it.
See {{ExpandableByteBuf}} which was removed here:
https://github.com/apache/ignite-3/commit/8c8d6eb2bc75ab19c0c85b94c353ae0ab42c40d4#diff-4053fb8ecb19c2a18b3b224e4ddbd39ae5ae63acaa5dbaf2b897d9c522830204
> Allow to use an existing buffer in BinaryTupleBuilder
> -----------------------------------------------------
>
> Key: IGNITE-24107
> URL: https://issues.apache.org/jira/browse/IGNITE-24107
> Project: Ignite
> Issue Type: Improvement
> Reporter: Maksim Zhuravkov
> Priority: Major
> Labels: ignite-3
>
> Sometimes we want to write a tuple into an existing buffer but
> BinaryTupleBuilder always allocates a new buffer for each binary tuple it
> builds. Let's update BinaryTupleBuilder to accept a component that allocates
> a buffer used by BinaryTupleBuilder.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)