Ethereal-dev: Re: [ethereal-dev] LAPD (the protocol :-)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 10 Nov 1999 22:01:01 -0800 (PST)
> I'm not sure why; perhaps my toshiba reader is just inefficent when
> combined with zlib.

Your Toshiba reader looks as if it may do a fair number of seeks.

Forward seeks are, when reading a compressed file, done, as I remember,
by reading forward some number of bytes in the file until you get to the
appropriate position in the file (where that position is in the
*uncompressed* data stream).  Not necessarily cheap, but no more
expensive than just reading.

*Backwards* seeks, however, are, as I remember, done by going back to
the beginning of the file, and reading forward until you reach the
appropriate position in the file.  They can be costly....