Gabriel Roldan wrote:
> you're right at pointing a finger at it. I have a suggestion for you.
> Besides upgrading to a newer EMF, the problem with app schema is startup
> time. Once you got the schemas parsed you're good to go with less memory.
> If I remember well, EMFAppSchemaReader does a two step process: get all
> the schemas as EMF XSD, then parse all the types to GeoTools
> FeatureTypes/Descriptors.
> That's indeed a problem: parse _all_ the types. What would be
> interesting is to parse only the tree of types _needed_ by the
> FeatureTypeMappings. That is, start with the target root Feature element
> and parse down as needed, instead of parsing the whole schemas.
> Makes sense?

Gabriel, that is a very sensible suggestion. We will have a look and see 
how easy it is to do.

Kind regards,

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to