Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Question about regex performance

by Anonymous Monk
on Jun 17, 2014 at 22:56 UTC ( #1090222=note: print w/ replies, xml ) Need Help??


in reply to Question about regex performance

Second, I am curious as to why the split/join approach is so much faster than the fastest regular expression.

optimized optimizations are optimized, its often faster to trade memory for speed, see next part

will I get the same ranking of functions regardless of the length of string?

Test it out :) Re^3: Increasing the efficiency of a viral clonal expansion model , Re: Print in loop or store and print once done (bench)


Comment on Re: Question about regex performance

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-12-29 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls