Bug #10750: Seeking, reading and writing with GZIP
| From: | elifarley at yahoo dot com | Date: | Wed, 09 May 2001 13:45:14 +0000 |
| Subject: | Bug #10750: Seeking, reading and writing with GZIP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54487@lists.php.net to get a copy of this message | ||
From: elifarley@yahoo.com
Operating system: n/a
PHP version: 4.0.5
PHP Bug Type: *Compression related
Bug description: Seeking, reading and writing with GZIP
- Seeking in a gzip file in read only mode is not quite
fast;
- Seeking backwards in a gzip file in write mode is not
supported;
I wish I could treat a gzip file like an ordinary
uncompressed file, seeking to any position of it, reading,
then writing, then reading some more, and so on. Everything
done very quickly, of course.
Proposed solution: add support for RAZip files. Right now
it is still not possible to write at arbitrary positions in
a RAZip-compressed file, but soon it will be. And random
seek-and-read operations are much faster than with GZIP (In
one test file, I could achieve almost 28 thousand percent
speed increase in random reads).
For more information about razip files, please visit
http://www.geocities.com/elifarley/javalibs/
Regards,
Elifarley
--
Edit Bug report at: http://bugs.php.net/?id=10750&edit=1