Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: speeding up a file-based text search

by dragonchild (Archbishop)
on May 06, 2003 at 17:45 UTC ( #255962=note: print w/replies, xml ) Need Help??

in reply to speeding up a file-based text search

Put the file into a database. MySQL would be perfect for this effort. If you can't, rewrite the effort in C.

Of course, if you want to avoid all those problems, why not post your solution (appropriately scrubbed) and see if we can't find other reasons it's running slow. You know the usual suspects, but I know I miss random stuff after staring at code too long ...

We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on 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://255962]
and the web crawler heard nothing...

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

    Results (257 votes). Check out past polls.