On Thu, Dec 9, 2010 at 4:47 AM, <[email protected]> wrote: > Yep, I also was confused about the name "Dynamic". "Static" or "Stable" > sounds better since the result of such a function is a constant for the > query.
Eh, the thing is, that's the common case. We have one (1!) fully dynamic function, random(), one semi dynamic, env(), and everything else is stable/static. Makes no sense to make to have to mark 100 functions manually plus require to mark most/all of the new ones to allow for the optimization > About the environment map. I think this map must be frozen during the query, > otherwise results are unpredictable and not repeatable in case of problems. Yeah, if I can optimize it out that will happen, it will be invoked and its result will replace it as a ogc:Literal in the filter/expression tree Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
