Re: gzcompress/gzdeflate default compression level?
| From: | David T-G | Date: | Wed, 29 Oct 2003 20:39:14 +0000 |
| Subject: | Re: gzcompress/gzdeflate default compression level? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168062@lists.php.net to get a copy of this message | ||
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, ...)?
%
% Right now, Im compressing large serialized strings using the php functions
That sounds good; you probably have enough material there to get some
good compression, and ASCII is always easy. So perhaps you may only get
better performance with higher numbers if you have a LOT of data.
% gzcompress/gzdeflate.
OK.
%
% > % 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...
It's a good place to start :-)
%
% Thanks
Sure thing!
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!