Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: search hang trouble

by greatdane (Beadle)
on Sep 01, 2006 at 22:56 UTC ( #570848=note: print w/replies, xml ) Need Help??


in reply to search hang trouble

I am now believing that the search is not hung but massively busy because of the cascaded non-greedy search pattern. The search hits on the first 3 specific strings but fails on the 4th specific string parsing a file with 50 cases of these failures. This results in a massive amount of nearly passing patterns.

To solve my "seemingly hung" problem, I added a pre-check to the search string to see that the search is likely needed.

Thanks for your help. This case can be considered closed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-11-30 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?