Reduce render listener overhead ------------------------------- Key: GEOT-2520 URL: http://jira.codehaus.org/browse/GEOT-2520 Project: GeoTools 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel