[jdom-interest] Huge slowdown when reading > 15 xml files

Bradley S. Huffman hip at a.cs.okstate.edu
Thu Dec 6 15:11:20 PST 2001

> I suspect all the entity chars cause the parser to call addContent()
> repeatedly and these repeated string concatentations bog down the
> system.
> The solution is probably to use a StringBuffer during the build process
> and only when something other than addContent(String) is called to
> convert the StringBuffer to a String.
> If anyone wants to tackle this, feel free.  I can't do it right this
> second.

Already be done, it's just hiding in jdom-wip.

More information about the jdom-interest mailing list