On Friday 07 October 2005 17:39, Jon Keating wrote: > > - history navigation: what to load? how to navigate in the logs? Does the > > navigation (the GUI) reflects the file split or does it splits > > differently? > > Navigate by chunks.. each chunk can be represented by an iterator, > similiar to an STL iterator. The only problem is searching... it will > be a linear search. If we implement an SQLite DB format, it will be > _very_ fast compared to the method used now.
A similar problem, navigating mbox files, is solved by mail programs by having a second index file, where they keep a mapping of message number to file offset or something like that. Cheers, Kevin
pgpjTjFB9bh5I.pgp
Description: PGP signature