What are some tips one can keep in mind to speed up jSoup? I am pretty new to using jSoup and any advice about things I should do, things I should avoid, etc. would be most appreciated.
I just want to know some general things so that I won't slow down my own software.
For example, what is faster:
doc.select("[class=foo]:eq(0)").first()
or
doc.select("[class=foo]").first()
or
doc.select("[class=foo]:lt(1)").first()
Stuff like that.