Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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 ... ------ 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. In reply to Re: speeding up a file-based text search
by dragonchild
|
|