[ 
https://issues.apache.org/jira/browse/CASSANDRA-21351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Konstantinov updated CASSANDRA-21351:
--------------------------------------------
    Description: 
Minor reduction of memory allocations in miscellaneous places of 
SelectStatement.getQuery:
* SinglePartitionReadCommand.Group#create - typical single partition select, 
use singletonList instead of ArrayList + Object[], 0.11%
* SelectStatement#getSliceCommands - remove unnessesary cloning of partition 
key, 0.43%
* SelectStatement#getSliceCommands - typical single partition select, use 
singletonList instead of ArrayList + Object[], 0.11%
* SinglePartitionReadQuery.Group#maybeValidateIndex, iterators for 
restrictioSet, 0.31%

Total: 0.96%


  was:
Minor reduction of memory allocations in miscellaneous places of 
SelectStatement.getQuery:
* SinglePartitionReadCommand.Group#create - typical single partition select, 
use singletonList instead of ArrayList + Object[], 0.11%
* SelectStatement#getSliceCommands - remove unnessesary cloning of partition 
key, 0.43%
* SelectStatement#getSliceCommands - typical single partition select, use 
singletonList instead of ArrayList + Object[], 0.11%
* SinglePartitionReadQuery.Group#maybeValidateIndex, iterators for 
restrictioSet, 0.31%

Total: 0.96%

to be continued


> Reduce memory allocations in SelectStatement.getQuery
> -----------------------------------------------------
>
>                 Key: CASSANDRA-21351
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21351
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Coordination
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>             Fix For: 6.x, 7.x
>
>         Attachments: CASSANDRA-21351-6.0_ci_summary.htm, 
> CASSANDRA-21351-trunk_ci_summary.htm
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Minor reduction of memory allocations in miscellaneous places of 
> SelectStatement.getQuery:
> * SinglePartitionReadCommand.Group#create - typical single partition select, 
> use singletonList instead of ArrayList + Object[], 0.11%
> * SelectStatement#getSliceCommands - remove unnessesary cloning of partition 
> key, 0.43%
> * SelectStatement#getSliceCommands - typical single partition select, use 
> singletonList instead of ArrayList + Object[], 0.11%
> * SinglePartitionReadQuery.Group#maybeValidateIndex, iterators for 
> restrictioSet, 0.31%
> Total: 0.96%



--
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