Rolf Kluge wrote:
>
> //
> // For building org.jdom.Document.
> //
> FileInputStream in = new FileInputStream(filename);
> SAXBuilder b;
> b = new SAXBuilder("org.apache.xerces.parsers.SAXParser");
> Document jdoc = b.build(in);
>
> /* This takes about 12 sec. */
It'd help if you buffered the input stream.
-jh-