From: Andrea Aime (JIRA) <jira@co...> - 2009-05-28 15:41:42
Reduce render listener overhead
Issue Type: Improvement
Components: core render
Affects Versions: 2.5.5
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.5.6
The two renderers (streaming and shapefile) at the moment are using ListenerList, which makes a deep copy of the list of listeners each time an event needs to be fired.
The overhead is not huge, but it's easily avoidable in java5 using CopyOnWriteArrayList instead, which does the copy only if the list gets modified. And that also allows us to get rid of ListenerList, which as a result is no more needed (will be deprecated in trunk and removed in the next series)
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira