I think that's a good question and a good idea.

Cheers,
Ulrich



Stephen Pendleton schrieb:

Taking a look at an example zlib implementation's header file there a few
items that control the behavior of the zlib compressor/decompressor:

#define Z_NO_COMPRESSION         0
#define Z_BEST_SPEED             1
#define Z_BEST_COMPRESSION       9
#define Z_DEFAULT_COMPRESSION  (-1)
/* compression levels */

#define Z_FILTERED            1
#define Z_HUFFMAN_ONLY        2
#define Z_DEFAULT_STRATEGY    0
/* compression strategy; see deflateInit2() below for details */

#define Z_BINARY   0
#define Z_ASCII    1
#define Z_UNKNOWN  2
/* Possible values of the data_type field */

#define Z_DEFLATED   8
/* The deflate compression method (the only one supported in this version)
*/

As you can see, you can specify a compression level, a compression method,
and a deflation method. Since the stream compression JEP doesn't specify the
inclusion of feature negotiations, how are implementors handling this?
Currently I use default values for the level and compression/decompression
methods and it works fine.
I personally think we should do feature negotiation, but if we choose not to
we should specify in the JEP what the supported values should be.

Thanks





begin:vcard
fn:Ulrich B. Staudinger
n:Staudinger;Ulrich B.
org:activestocks.de
adr;quoted-printable:;;Karoline-Zwiener-Strasse 10;G=C3=BCtersloh;D;33332;Germany
email;internet:[EMAIL PROTECTED]
tel;work:++49-5241-9619922
tel;fax:++49-5241-9619980
tel;cell:++49-176-24506471
url:http://www.activestocks.de
version:2.1
end:vcard

Reply via email to