Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: speeding up a file-based text search

by perrin (Chancellor)
on May 07, 2003 at 19:52 UTC ( [id://256365]=note: print w/replies, xml ) Need Help??


in reply to Re: speeding up a file-based text search
in thread speeding up a file-based text search

I tried this, but unfortunately I only got about a 10% performance gain. I do need to know the line that matched, so I used the chunked stuff to qualify chunks and then check them line by line if they match. This lazy way of doing things was quick to try out, but I would probably get better performance if I actually take the time to write code that can extract the line from a chunk based on the position of a match. I'll try that next.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-19 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found