Aleksandr Polovtsev created IGNITE-26623:
--------------------------------------------

             Summary: Optimize LogEntryDecoder to avoid payload copying
                 Key: IGNITE-26623
                 URL: https://issues.apache.org/jira/browse/IGNITE-26623
             Project: Ignite
          Issue Type: Improvement
            Reporter: Aleksandr Polovtsev
            Assignee: Aleksandr Polovtsev


Add the following methods to the {{LogEntryEncoder}} interface:

# {{int size(LogEntry logEntry)}}
# {{void encode(ByteBuffer buffer, LogEntry log)}}

This will allow us to directly write into Segment Files' buffers without an 
intermediate array creation.



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

Reply via email to