Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: HTML::LinkExtractor

by Aristotle (Chancellor)
on Aug 20, 2002 at 15:48 UTC ( #191490=note: print w/ replies, xml ) Need Help??

in reply to Re: HTML::LinkExtractor
in thread HTML::LinkExtractor

HTML::TreeBuilder can consume a lot of memory as it first builds a representation of the document using oodles of objects. It also burdens the CPU more. HTML::TokeParser on the other hand parses the HTML input stream as it comes along, reducing the overhead quite a bit. HTML::TreeBuilder is easy for a quick oneshot script, or nice when you intend to do heavyduty transformation or mangling on the input document's structure, but not a good choice to build an all purpose tool on top of.

Makeshifts last the longest.

Comment on Re^2: HTML::LinkExtractor
Replies are listed 'Best First'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://191490]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-11-28 16:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls