note 28840 added to function.bzcompress
| From: | Jeremos at rack1 dot php dot net | Date: | Sat, 25 Jan 2003 15:28:10 +0000 |
| Subject: | note 28840 added to function.bzcompress | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42728@lists.php.net to get a copy of this message | ||
The bzcompress should not include the BZ headers... it only returns the compressed data wihout any
file informations.
I use bzcompress with bzwrite and it's work like the bzip program... All is fine!
I made a test to get the faster method :
with 100 iterations that compress 32Ko of random data I obtain :
bzip file method : 1.987 seconds
bzcompress php lib : 1.122 seconds
--
http://www.php.net/manual/en/function.bzcompress.php
http://master.php.net/manage/user-notes.php?action=edit+28840
http://master.php.net/manage/user-notes.php?action=delete+28840
http://master.php.net/manage/user-notes.php?action=reject+28840