netudima opened a new pull request, #4795:
URL: https://github.com/apache/cassandra/pull/4795

   org.apache.cassandra.utils.MergeIterator.Candidate - has Comparator field 
which is the same for all Candidates under an MergeIterator instance, we can 
move the field to MergeIterator level. Candidate is 4.8% of all allocations and 
we can save 20% (~1% of all allocations) of it for JDK 21 with compressed 
references on.
   
    switch from ArrayList to array in org.apache.cassandra.db.rows.Row.Merger
   The ArrayList iterator costs 0.72% and BulkIterator.Adapter costs 0.35%. So, 
in total we can save here ~1% of total allocations.
   
   patch by Dmitry Konstantinov; reviewed by TBD for CASSANDRA-21359


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to