in reply to Re: Re: Pulling by regex II
in thread Pulling by regex II
If you have a 2GB log file, you can imagine that reading the whole thing into memory isn't going to be terribly efficient. Processing it one line at a time is virtually a must.
Unless you need to read in the whole file because it's not terribly large and you will be refering to it several times, it is almost always better to pick through it one line at a time.