Closed laurentg closed 9 years ago
During a Neptune to GTFS conversion, most of the time is spend creating a new JAXBContext instance when converting a new object. This PR optimize this by keeping a cache of created JAXBContext. Re-using JAXBContext is possible and thread-safe.
After Travis passing tests, this pull request is merged to the future 2.5.2 version.
Chouette V3.0.0 don't use JAXBContext anymore on Neptune import
During a Neptune to GTFS conversion, most of the time is spend creating a new JAXBContext instance when converting a new object. This PR optimize this by keeping a cache of created JAXBContext. Re-using JAXBContext is possible and thread-safe.