in reply to Re^3: Search function for guestbook history?
in thread Search function for guestbook history?
From my quick test, wsfp's (very excellent) code using HTML::TokeParser::Simple takes around 7 seconds to run the same test as my rather crude regex solution takes 2/10ths.
As you are processing your own, controlled data, you can choose either with a fair degree of safety. If you were processing html from another source where you didn't control the layout, the parser route would be preferable.
|
|---|