[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Using Lua to combine CSV files
- From: Shmuel Zeigerman <shmuz@...>
- Date: Tue, 26 Jun 2007 20:05:00 +0200
chandan datta wrote:
Thanks /Shmuel /for the code,but it would really help if someone comes
up a faster way-or if at all doing this in Lua is a good idea.
You can create an index file (similar to "table of contents" in a book).
Creating such an index is slow but using is very fast.
It will contain offsets into the log files, so it'd be possible
to "jump" to the required record (or group of records) - rather than
doing a linear search.