Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: Suggestion for regular expression speed improvement.

by moritz (Cardinal)
on Jun 15, 2009 at 14:34 UTC ( #771668=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Suggestion for regular expression speed improvement.
in thread Suggestion for regular expression speed improvement.

Make your system handle the various cases. A regex, a split, an unpack, maybe even an xml parser....

I agree. The simplest solution is to make the caller supply a code reference, which you then call and which does the parsing/matching/unpacking/whatever.

  • Comment on Re^6: Suggestion for regular expression speed improvement.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771668]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2016-07-26 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (240 votes). Check out past polls.