-- Craig
Chris Wagner wrote:
I don't think u should be slurping into a single variable. I always slurp into an array. The thing to remember with large searches is that a pattern match is an XOR operation and anything u can do to cut down on the number of XOR's the better. Since each keyword is on it's own line, presumably at the beginning, iterating over each array element will be the fastest. Right now ur searching useless text *after* the position where a keyword could be.
--- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0511-0, 03/15/2005 Tested on: 3/16/2005 7:10:34 AM avast! - copyright (c) 1988-2004 ALWIL Software. http://www.avast.com
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
