Re: gzcompress/gzdeflate default compression level?
| From: | Gerard Samuel | Date: | Wed, 29 Oct 2003 20:35:31 +0000 |
| Subject: | Re: gzcompress/gzdeflate default compression level? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168061@lists.php.net to get a copy of this message | ||
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 are you working? How are you gzipping (PEAR
> module, class, system call, ...)?
Right now, Im compressing large serialized strings using the php functions
gzcompress/gzdeflate.
>
> % Does anyone know what the default compression levels are?
>
> My gzip man page says it's -6; I'd suspect it would be the same for any
> library call.
Didn't think to check man pages, but it says the same here, so I guess its
a good assumption...
Thanks