From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to