[
https://issues.apache.org/jira/browse/COLLECTIONS-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
E P updated COLLECTIONS-722:
----------------------------
Description:
IteratorUtils.chainedIterator() performance degrades when chaining iterators
with chained iterators. The slowdown appears to be exponential, based upon
the number of chains created. The attached test shows the issue.
As a reference, the same test below works as expected using Google's Guava
Iterator.concat() functionality. It is possible I am misusing the API, but
the javadoc did not indicate as much.
was:
IteratorUtils.chainedIterator() performance degrades when chaining iterators
with chained iterators. The slowdown appears to be exponential, based upon
the number of chains created. The attached test shows the issue.
> IteratorUtils.chainedIterator() Performance Degrades
> ----------------------------------------------------
>
> Key: COLLECTIONS-722
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-722
> Project: Commons Collections
> Issue Type: Bug
> Affects Versions: 4.1
> Reporter: E P
> Priority: Major
> Attachments: IteratorUtilsTest.java
>
>
> IteratorUtils.chainedIterator() performance degrades when chaining iterators
> with chained iterators. The slowdown appears to be exponential, based upon
> the number of chains created. The attached test shows the issue.
> As a reference, the same test below works as expected using Google's Guava
> Iterator.concat() functionality. It is possible I am misusing the API, but
> the javadoc did not indicate as much.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)