On Sat, Mar 20, 2010 at 9:58 AM, douda <[email protected]> wrote: > Should I use getElementsByTagName() many times or use a loop and parse > the dom tree manually? > > getElementsByTagName() is easy to use, but I was wondering it would be > more efficient for the android to use a loop? >
Why don't you just try both and see which is faster in your case ... ? ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

