[jira] Updated: (VELOCITY-607) Runtime macro rendering very slow in Velocity 1.6-dev (679708) compared to 1.5

2008-08-01 Thread JIRA
[ https://issues.apache.org/jira/browse/VELOCITY-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarkko Viinamäki updated VELOCITY-607: -- Attachment: velocity-1.6-dev-macro-performance-IDEAS-v2.1.patch Some cleanup and

[jira] Updated: (VELOCITY-607) Runtime macro rendering very slow in Velocity 1.6-dev (679708) compared to 1.5

2008-08-01 Thread JIRA
[ https://issues.apache.org/jira/browse/VELOCITY-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarkko Viinamäki updated VELOCITY-607: -- Attachment: (was: velocity-1.6-dev-macro-performance-IDEAS-v2.patch) Runtime

[jira] Issue Comment Edited: (VELOCITY-607) Runtime macro rendering very slow in Velocity 1.6-dev (679708) compared to 1.5

2008-08-01 Thread JIRA
[ https://issues.apache.org/jira/browse/VELOCITY-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618954#action_12618954 ] wyla edited comment on VELOCITY-607 at 8/1/08 1:41 AM: ---

Re: [SURVEY] IntrospectorCache(Listener)

2008-08-01 Thread Adrian Tarau
You're right, but I've sent a correction after that : adding synchronized to addListener and removeListener. Adding synchronized keyword guarantees atomic modifications of listners array and provides visibility(by committing changes in main memory) for listeners to other threads. Also

Re: [SURVEY] IntrospectorCache(Listener)

2008-08-01 Thread Jon Seymour
Of course the modification proposed here is not thread safe in its current form. Jon. On 7/30/08, Adrian Tarau [EMAIL PROTECTED] wrote: The best way to implement listeners (as you may see in EventListenerList) is to work with arrays.They are immutable and have the lowest memory

Escaping HTML in Velocity 1.4

2008-08-01 Thread vinodtr
Hi all, I am now using Apache Velocity 1.4 in my project. I would like to incorporate the escaping HTML feature in my project without bringing in Velocity 1.5. I could find that there is a tool called EscapeTool to achieve it. But to do that, i need to change all my velocity templates to enclose