[android-developers] Re: How much time it will take to parse

2010-01-29 Thread ko5tik
The problem is DOM parsing - in produces a LOT of objects and garbage collection wile slurping everything in oner big gulp (and usually chokes) What is wrong with SAX or XPP? On Jan 29, 11:59 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi frank, Thank u for ur reply. that question is

Re: [android-developers] Re: How much time it will take to parse

2010-01-29 Thread Sasikumar.S
now i'm trying in SAX Parser only.. On Fri, Jan 29, 2010 at 1:46 PM, ko5tik kpriblo...@yahoo.com wrote: The problem is DOM parsing - in produces a LOT of objects and garbage collection wile slurping everything in oner big gulp (and usually chokes) What is wrong with SAX or XPP? On Jan

Re: [android-developers] Re: How much time it will take to parse

2010-01-29 Thread Kevin Duffey
xpp is much easier to use.. little messy.. but works very well, very fast, and you can often get it much faster depending on if you need to parse the whole document or just one part of it. If you got a 3MB xml, but the tag or whatever you need is found at 1MB.. you can exit at that point and skip