in reply to Possible to have regexes act on file directly (not in memory)
I haven't tried this myself, but the first thought in my head is whether there's any way to get perl to mmap a file. Check CPAN for modules that allow you to mmap a file to memory - you will still read the file into memory in chunks, but it could be much more transparent.
Of course, there's the other side of the coin: you need better structured data :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Possible to have regexes act on file directly (not in memory)
by karlgoethebier (Abbot) on May 02, 2014 at 18:41 UTC | |
by Tanktalus (Canon) on May 03, 2014 at 02:14 UTC | |
by davido (Cardinal) on May 03, 2014 at 05:33 UTC | |
by davido (Cardinal) on May 03, 2014 at 05:21 UTC | |
by BillKSmith (Monsignor) on May 02, 2014 at 23:05 UTC |