Divij Vaidya created KAFKA-14632:
------------------------------------

             Summary: Compression optimization: Remove unnecessary intermediate 
buffers
                 Key: KAFKA-14632
                 URL: https://issues.apache.org/jira/browse/KAFKA-14632
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Divij Vaidya
            Assignee: Divij Vaidya
             Fix For: 3.5.0


Remove two layers of buffers (the 16KB one and 2KB one) and replace with a 
single buffer called decompressionBuffer. The time it takes to prepare a batch 
for decompression will be bounded by the allocation of largest buffer and 
hence, using only one large buffer (16KB) doesn’t cause any regression.



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

Reply via email to