SPUG: Optimizing replace code
Chris Sutton
chris at smalldognet.com
Fri Jan 21 18:02:54 CST 2000
JoPe wins.
Original 4.80
Riley (index) 1.77
JoPe (regex) 1.23
Just so I (and probably others) can fully understand what is going on
here can someone explain:
([^}]+)
Also, one thing that might make this a little more complicated is that
if there is not a hash value for a specific {text} string, leave the
{text} string alone. Right now, it whipes it out.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list