Unless the file is indexed, I don't think there's a way to avoid reading in the whole thing line by line. But, if you're using regexes inside the while loop, you might be able to speed up your parsing by pre-compiling them using qr.
In reply to Re: Parsing large files
by nevdka
in thread Parsing large files
by halecommarachel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |