Summary: | c:forEach loop on integer range consumes unnecessary heap space in proportion to value for "end" | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Dan Armstrong <support> |
Component: | Standard Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 1.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Dan Armstrong
2013-09-28 22:04:21 UTC
One observation: Integer.valueOf was added in Java 1.5, so we'll need to stick with new Integer(next++) in the iterator. - Thanks!!! I've been looking into this further. This enhancement has already been made in the 1.2 series of standard taglib. I hope you will still add it to any future release of the 1.1 series. This has already been fixed in trunk and will be included in 1.2.0.RC2. Leaving open for 1.1 but a new release of that branch is unlikely. Closing as 1.2.1 is released and no new release of 1.1 is likely. |