Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Perl regexp matching is slow??

by imp (Priest)
on Jan 30, 2007 at 04:30 UTC ( #597270=note: print w/replies, xml ) Need Help??

in reply to Perl regexp matching is slow??

The speed of the perl regex engine isn't all that important unless it is too slow for a particular problem you are trying to solve. If the problem is so time sensitive that the perl regex engine is your biggest bottleneck (you did benchmark, right?) then it might be time to rethink your solution. Perhaps moving away from regex, or perhaps using a language built for speed

Where perl shines really is the ease with which you can use regular expressions, and the useful (if monstrous) extensions such as (?{{}}). Using regular expressions in php or c with pcre makes you really appreciate perl. Older java versions were a bit annoying as well, but they have improved greatly in recent years.

Use whatever happens to be the right tool for the job. It won't always be perl, but you can rejoice when it is.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://597270]
[marto]: I've been impressed with the Star Citizen thing, I'll likely never play it, but they've achieved something really special I think, in terms of what has been shown so far.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-12-14 10:50 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (389 votes). Check out past polls.