Hi,

I am looking to optimize applications that use Apache Daffodil and would
like to know which classes or functions are thread-safe, reusable, can be
cached in a singleton, etc. For instance, I believe that
ScalaXMLInfosetOutputter is reusable since it has a reset() function. Here
is a list of classes/functions/instances I am currently using:
- Daffodil.compiler()
- ProcessorFactory
- ProcessorFactory.onPath(String)
- DataProcessor
- ScalaXMLInfosetOutputter

I would like to avoid having to instantiate each class at every call.
Otherwise, what are the common optimizations that can be done when using
Apache Daffodil's Java/Scala API?

Patrick.

Reply via email to