Speeding up Xerces SAXParser

hitectahir

Usenet Archive
Joined
Jul 1, 2003
Messages
6
Reaction score
0
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

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,224
Members
248,132
Latest member
henrywalsh

Latest Threads

Top