Dmitry Konstantinov created CASSANDRA-21362:
-----------------------------------------------

             Summary: Avoid ByteBuffer wrapping in 
cql3.selection.Selector.InputRow
                 Key: CASSANDRA-21362
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21362
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Consistency/Coordination
            Reporter: Dmitry Konstantinov
         Attachments: image-2026-05-10-16-52-05-513.png

The logic is responsible for 10.7% of allocations in 10 row select test (if 
CASSANDRA-21354 changes are already applied)
We read data from Memtables and SSTables as byte arrays (ArrayCell, 
ArrayClustering) but then to serialize them into CQL response we convert them 
into ByteBuffer, so for every value we have to allocate a wrapping ByteBuffer:

 !image-2026-05-10-16-52-05-513.png! 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to