Andy Clark said: > > And what happens when you run the same thing with the SAXParser > first and the XMLReader second? Then try running a test parse > *before* timing any parsing runs. > > I'm guessing that your performance difference is due to Java > loading the parser classes the first time you parse. After that, > the classes are loaded and it's much faster. > I tried your suggestion and your absolutely right. After the first, untimed parse, both methods are just as fast. So the "problem" here indeed is the class being loaded.
Greetings, Pieter van der Spek @ @ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-= Pieter van der Spek ---- West Consulting B.V. - www.west.nl ---- Tu Delft / Computer Science - www.tudelft.nl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]