[PHP] gzcompress/gzdeflate default compression level?

2003-10-29 Thread Gerard Samuel
The docs do not state what the defaults are, and from tests, it seems the values 4 - 9 return the same output as with no value, on the string I tested with. Does anyone know what the default compression levels are? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] gzcompress/gzdeflate default compression level?

2003-10-29 Thread David T-G
Gerard -- ...and then Gerard Samuel said... % % The docs do not state what the defaults are, and from tests, % it seems the values 4 - 9 return the same output as with no value, % on the string I tested with. With what sort of data are you working? How are you gzipping (PEAR module, class,

Re: [PHP] gzcompress/gzdeflate default compression level?

2003-10-29 Thread Gerard Samuel
On Wednesday 29 October 2003 03:27 pm, David T-G wrote: Gerard -- ...and then Gerard Samuel said... % % The docs do not state what the defaults are, and from tests, % it seems the values 4 - 9 return the same output as with no value, % on the string I tested with. With what sort of data

Re: [PHP] gzcompress/gzdeflate default compression level?

2003-10-29 Thread David T-G
Gerard, et al -- ...and then Gerard Samuel said... % % On Wednesday 29 October 2003 03:27 pm, David T-G wrote: % % ...and then Gerard Samuel said... % % % % on the string I tested with. % % With what sort of data are you working? How are you gzipping (PEAR % module, class, system call,

Re: [PHP] gzcompress/gzdeflate default compression level?

2003-10-29 Thread Evan Nemerson
On Wednesday 29 October 2003 11:29 am, Gerard Samuel wrote: The docs do not state what the defaults are, and from tests, it seems the values 4 - 9 return the same output as with no value, on the string I tested with. Does anyone know what the default compression levels are? IIRC the default

Re: [PHP] gzcompress/gzdeflate default compression level?

2003-10-29 Thread Marek Kilimajer
I think the default is 6, but you will need a very long string to get any benefit from higher numbers. Gerard Samuel wrote: The docs do not state what the defaults are, and from tests, it seems the values 4 - 9 return the same output as with no value, on the string I tested with. Does anyone