[
https://issues.apache.org/jira/browse/CASSANDRA-13856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Brown reassigned CASSANDRA-13856:
---------------------------------------
Assignee: (was: Jason Brown)
> Optimize ByteBuf reallocations in the native protocol pipeline
> --------------------------------------------------------------
>
> Key: CASSANDRA-13856
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13856
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Jason Brown
> Priority: Minor
>
> This is a follow up to CASSANDRA-13789. I discovered we reallocate the
> {{ByteBuf}} when writing data to it, and it would be nice to size the buffer
> correctly up-front to avoid reallocating it. I'm not sure how easy that is,
> nor if the cost of the realloc is cheaper than calculating the size needed
> for the buffer. Adding this ticket, nonetheless, to explore that optimization.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]