Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Re: Regular Expression

by Shendal (Hermit)
on Aug 13, 2002 at 17:58 UTC ( #189898=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Regular Expression
in thread Regex on log file hangs

In my test, I am completing 100k lines worth of substitution in approximately 4 seconds. Your mileage may vary.

Can you give an example of the source you are parsing? Perhaps you can anchor your substitutions somewhere? Perhaps the code is "hanging" else where (i.e., have you tried print statements before and after this section to verify that it is where the "hanging" is occuring?)? How long does the program "hang"? Is it consuming CPU while it is "hung"?

Cheers,
Shendal


Comment on Re: Re: Re: Re: Regular Expression

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-07 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls