[infinispan-issues] [JBoss JIRA] (ISPN-4217) Use ArrayList instead of LinkedList for DeltaAware and Delta in M/R

William Burns (JIRA) issues at jboss.org
Mon May 5 10:22:57 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965533#comment-12965533 ] 

William Burns commented on ISPN-4217:
-------------------------------------

You should also take a look at ArrayDeque, depending on what you need.  I normally use ArrayList as my fallback collection, but more recently I have been using ArrayDeque which seems even better.

> Use ArrayList instead of LinkedList for DeltaAware and Delta in M/R
> -------------------------------------------------------------------
>
>                 Key: ISPN-4217
>                 URL: https://issues.jboss.org/browse/ISPN-4217
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Distributed Execution and Map/Reduce
>            Reporter: Vladimir Blagojevic
>            Assignee: Vladimir Blagojevic
>
> Investigate switching to ArrayList as implementation of DeltaAware and Delta as ArrayList uses less memory than LinkedList. 



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list