George Russell wrote:
> [...] I think that in fact the zip format would be better, because
> every zip file has a complete directory at the end, so you normally
> only have to read in one disk block for the directory, [...]

It's not that easy with ZIP files: Due to a trailing comment field
which is prefixed(!) by its length one can only guess the start of
the end directory header, see the unzip sources. The only non-guessing
way is to sequentially hop through the file entries.

Cheers,
   Sven
-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne

Reply via email to