Dan Berindei created ISPN-12351:
-----------------------------------
Summary: ImmutableListCopy makes too many copies
Key: ISPN-12351
URL:
https://issues.redhat.com/browse/ISPN-12351
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 12.0.0.Dev03
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.0.0.Dev04
An array copy is not needed when creating a new {{ImmutableListCopy}} instance from
another {{ImmutableListCopy}}.
The constructor with 2 list parameters can also avoid one array allocation by
pre-allocating the array, or by using one list's array when the other list is empty.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)