You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jason Pyeron (JIRA)" <ji...@apache.org> on 2011/06/07 16:45:59 UTC

[jira] [Updated] (WW-3645) iteration over Enumerations is wasting resources

     [ https://issues.apache.org/jira/browse/WW-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Pyeron updated WW-3645:
-----------------------------

    Attachment: WW-3645-Enumeration-iterator.patch

> iteration over Enumerations is wasting resources
> ------------------------------------------------
>
>                 Key: WW-3645
>                 URL: https://issues.apache.org/jira/browse/WW-3645
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: Jason Pyeron
>         Attachments: WW-3645-Enumeration-iterator.patch
>
>
> Why is a wrapper not being used? This is in effect doing double iteration, extra memory, etc.
> There is a wrapper in org.apache.struts2.util.IteratorFilterSupport: EnumerationIterator.
> patch forth comming

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira