in reply to Optimizing a script
I looked at the other thread and what you're using here does not match the data you described there. I have a feeling that your script is trying to find a match for a record separator that doesn't exist, and therefore tried to read the whole file into memory, and got hopelessly bogged down with swapping as a consequence.$/ = qq{"\$"\t""\t""\n};
Your record separator isn't "$"<TAB>""<TAB>""(newline) is it? I think you need to get rid of all those " characters, for starters...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Optimizing a script
by Micz (Beadle) on Apr 21, 2004 at 15:03 UTC |