You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/06/27 18:56:48 UTC

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

    [ https://issues.apache.org/jira/browse/WW-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055658#comment-13055658 ] 

Hudson commented on WW-3645:
----------------------------

Integrated in Struts2 #328 (See [https://builds.apache.org/job/Struts2/328/])
    

> 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
>            Assignee: Lukasz Lenart
>             Fix For: 2.3
>
>         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