[ 
https://issues.apache.org/jira/browse/CASSANDRA-15394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992489#comment-16992489
 ] 

Benedict Elliott Smith commented on CASSANDRA-15394:
----------------------------------------------------

(y)

I think there's some value in introducing {{isize}} as a norm, only because 
when we have nested loops the norm will have to shift, but it's also pretty 
simple for somebody to switch to {{isize}} and {{jsize}} in this case.  It 
seems fine to use plain {{size}} when there's only one loop.

> Remove list iterators
> ---------------------
>
>                 Key: CASSANDRA-15394
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15394
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Local/Compaction
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>            Priority: Normal
>             Fix For: 4.0
>
>
> We allocate list iterators in several places in hot paths. This converts them 
> to get by index. This provides a ~4% improvement in relvant workloads.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to