[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: [bug #20161] support automatic (de)compression for system/
Mark H. Wood
Re: PSPP-BUG: [bug #20161] support automatic (de)compression for system/portable file I/O
Mon, 18 Jun 2007 09:19:20 -0400
Why not look at the algorithms?
'deflate' does seem to buffer up the output stream for a while, but it
can flush those buffers when it determines that a fresh dictionary
should be started. Small streams might be completely buffered, but it
becomes increasingly likely with increasing length that the output
stream will be blocked rather than retained complete.
GNU 'tar' can be instructed to pass the archive through 'compress' or
(more usually, these days) 'gzip', so there is some experience there
to draw on.
There's some discussion of bzip2 at Wikipedia:
It looks like bzip2 doesn't necessarily buffer the whole stream
either. Again, recent GNU 'tar' can pipe through bzip2 so there is
some experience with real-world behavior of this model.
Mark H. Wood, Lead System Programmer address@hidden
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.
Description: PGP signature