[infinispan-issues] [JBoss JIRA] (ISPN-4217) Use ArrayList instead of LinkedList for DeltaAware and Delta in M/R
Vladimir Blagojevic (JIRA)
issues at jboss.org
Mon May 5 10:12:58 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965529#comment-12965529 ]
Vladimir Blagojevic commented on ISPN-4217:
-------------------------------------------
ArrayList is less memory intensive than Linked List [1] [2]
[1] http://stackoverflow.com/questions/11564352/arraylist-vs-linkedlist-from-memory-allocation-perspective
[2] https://code.google.com/p/memory-measurer/wiki/ElementCostInDataStructures
> 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