David Blasby wrote:
Jody,
My plan to not generate FIDs for Rendering only had a 5% speed
increase. I'm not sure why the profiler was off by so much - perhaps
IO is a limiting factor.
Well, the next biggest time sink seems to be calculating hashcodes for
the Symbolizers (and their sub-objects).
I was thinking of caching the hashcode and updating it with any
changes to it (or any children). There seems to be listeners on the
Symbolizers and their sub-objects (ie.
LineSymbolizer.getStroke().getColor()).
How are you supposed to do this?
actually listen? You need to grab the root StyleLayerDescriptor object,
the events basically show you the "path" to where the change is ...
For your purpose any change would invalidate your cache.
Jody
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel