Hi, today I did some benchmarks again and we're pretty close to the 2.4.x level (but we do not match, 10%-20% slower... unfortunately I'm out of time for further improvements).
Anyway, the funny thing is that there are two feature factories, one non validating, and the other validating. The latter is just a subclass of the former, since all we need to change is a flag. And here the fun part stats: the SPI will randomly pick one or the other depending on the JDK. I solved this by creating an abstract superclass, and then subclassing just to set the validation flag. Now this solves the randomness, but does not address the global default issue: how do I ensure the global default is the non validating one? For the moment I just modified CommonFactoryFinder so that it injects the proper hint if none has been set before looking up the factory, but it sounds like a hack. How can I set a global default in Hints, that is, a library, out of the box default, that the user can stil override at will? There is a GLOBAL map, but I'm not seeing any global default set. Lacking an example, I'm wondering what's the best way to proceed. Cheers Andrea ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel