Bugs item #1977421, was opened at 2008-05-29 09:24 Message generated for change (Comment added) made by nicdumz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1977421...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Melancholie (melancholie)
Assigned to: NicDumZ — Nicolas Dumazet (nicdumz)
Summary: Use cElementTree instead of BeautifulSoup, if installed
Initial Comment: Use cElementTree instead of BeautifulSoup, if available!
cElementTree is much much faster, and uses less memory. See: http://www.oluyede.org/blog/2007/08/25/sgml-python-parsers-benchmark/
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-05-29 13:21
Message: Logged In: YES user_id=1963242 Originator: NO
yes, cElementTree is definitely faster. Rev5461 uses (c)ElementTree when available, and BS when it's not.
Thanks for the diagnosis :)
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1977421...