-
Notifications
You must be signed in to change notification settings - Fork 74
Caching XMLOutputFactory to improve performance (fixes #474) #477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caching XMLOutputFactory to improve performance (fixes #474) #477
Conversation
Intruducing a new XmlFactories class as a suggested place to conveniently retrieve properly configured XMLFactories. Provides methods to access shared instances or to retrieve a freshly created instance (if really needed).
…mlFactories::getOutputFactory
358e53b to
7b3b1b2
Compare
|
hey guys @sammefford |
|
@joecrean this pull request isn't integrated. I'm curious where you're seeing CachedInstancePerThreadSupplier in the code as I don't see it. I'll get this integrated. |
|
HI Sam,
Yes you are right – sorry. It would be great to have it integrated…
Thanks
Joe
|
…formance, from commit 7a704e6
|
@joecrean the change is now on the 3.0-develop and develop branches. If you want, you can pull and build a copy that includes the changes. |
|
@sammefford thanks Sam!! hey just pondering my next steps here.. any idea of the timelines for a release on 3.0.x? |
|
Nothing is scheduled right now. But I wouldn't be surprised to see it come early next year. |
Introducing
XmlFactoriesas a means to retrieve a sharedXMLOutoutFactory. Also consolidating factory initialization into a commonmakeNewOutputFactorymethod.This change is intended to address the main concerns of #474.