Which is faster in performance - dom4j or jdom?

  Jul 7, 2017

Which is faster in performance - dom4j or jdom?

Solved 0
2 years ago 1 Answer 0 views

Answers ( 1 )

  1. 1 year ago

    There are efficient automatic data binders, including JAXB (and with proper settings, XStream), which could help. They are faster than DOM, because the main performance problem with DOM (and JDOM, Dom4j and XOM) is that tree models are inherently expensive compared to POJOs -- they are basically glorified HashMaps, with lots of pointers for convenient untyped traversal; especially regarding memory usage.

*Avoid using any other website url of links , otherwise your answer may not be visible on website until verification is complete.

Your Answer





Related Questions