[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stream-based Scanning of File-Buffers
From: |
Nordlöw |
Subject: |
Stream-based Scanning of File-Buffers |
Date: |
Fri, 25 Sep 2009 05:12:55 -0700 (PDT) |
User-agent: |
G2/1.0 |
Is there a way to perform string/regexp scanning (using search-forward
or re-search-forward) in a file-buffer whose contents is loaded only
when it's needed, kind of like file streams in C, so that I only do a
physical read on the blocks that I actually scan and then skip the
rest of the file as soon as I get a hit.
Thanks in advance,
Nordlöw
- Stream-based Scanning of File-Buffers,
Nordlöw <=