in reply to How to get fast random access to a large file?
If all you're interested in is navigation, this might be enough.Line Offsets: 20, 55, 66, 99 ... bytes Page Offset/Size: 1-4,5-9 ... lines Sets: 1-2-3,4-5-6 ... pages
If the file doesn't need to stay hand editable, and you're interested in manipulation, I'd switch to a database like BerkeleyDB or DBD::SQLite, depending on whether or not SQL is overkill.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get fast random access to a large file?
by gothic_mallard (Pilgrim) on Oct 29, 2004 at 12:53 UTC |