olabusayoT opened a new pull request #453: URL: https://github.com/apache/incubator-daffodil/pull/453
We use a SAXInfosetEvent array of tunable saxUnparseEventBatchSize size and pass the same array back and forth between the inputter and the unparseContentHandler, reusing its elements. The hope is this will reduce the context switching and result in a constant memory footprint as opposed to the having to create a new SAXInfosetEvent object for each event. - add saxUnparseEventBatchSize tunable with default 100 - update coroutine to not expect a generic type wrapped in a Try, but any generic event; the implementation can then pass in whatever they wish - Add tests for tunables and batching tests DAFFODIL-2383 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
