Bug #10750 Updated: Seeking, reading and writing with GZIP
| From: | sr@php.net | Date: | Wed, 09 May 2001 20:38:47 +0000 |
| Subject: | Bug #10750 Updated: Seeking, reading and writing with GZIP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54565@lists.php.net to get a copy of this message | ||
ID: 10750
Updated by: sr
Reported By: elifarley@yahoo.com
Status: Open
Old-Bug Type: *Compression related
Bug Type: Feature/Change Request
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Reclassify as feature request.
Have a look at the PHP java support, maybe you can use your java classes to write to your format
with this extension (please close this report if it works).
I didn't find any C library for your format, so it would need some work first to port your
library to C ...
Previous Comments:
---------------------------------------------------------------------------
[2001-05-09 09:45:14] elifarley@yahoo.com
- 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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10750&edit=2