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

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

by perrin (Chancellor)
on May 07, 2003 at 19:52 UTC ( #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.
  • Comment on Re: Re: speeding up a file-based text search

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2020-10-27 18:28 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (257 votes). Check out past polls.