Speeding up Xerces SAXParser

H

hitectahir

Hi,

I have been using the SAXParser class of Xerces to parse some 40-60 K
of XML on PersonalJava on an iPAQ. but it takes too much time (almost
30-40 seconds). Can anybody tell me if there are some options that can
be selected in Xerces which can make the parsing process faster? For
example, i initially used

SAXParser xml...
...
...
...
xml.setReaderFactory(new StreamingCharFactory());

but when i commented out the setReaderFactory method call, the speed
increased by almost 33 %. Are there any other ways i can use to speed
the thing up even more?

Tahir.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top