tobyink/p5-html-html5-parser — pull request #1 by doriantaylor (2013-07-04 17:03:00+00:00)
Title: Fixed enormous memory leaks

The presence of $self in a few closures was causing memory leaks on the order of about a megabyte per parser run. They are now gone.

There are still memory leaks of a similar kind around that $token in TagSoupParser.pm, but that is more of a trickle compared to the gush of the other one. It's too hairy for me to tackle it at this time.