chrisrueger opened a new pull request, #97:
URL: https://github.com/apache/freemarker/pull/97
We managed to get improved performance for scenarios where after creating a
list and then iterating over it.
* store the size at creation time so that we avoid repeated expensive
calculation in get() or size().
* this speeds up scenarios where ConcatenatedSequence are iterated like
BuiltInsForSequence like ?join or <#list>
```
<#assign mylist = [] >
<#list 1..10000 as i><#assign mylist = mylist + [i+"foo"!?upper_case]
/></#list>
${mylist?join(",")}
or
<#list mylist as e>
${e}
</#list>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]