Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bzip2 compression #10

Open
tvb opened this issue Apr 28, 2014 · 3 comments
Open

Add bzip2 compression #10

tvb opened this issue Apr 28, 2014 · 3 comments
Assignees
Labels

Comments

@tvb
Copy link
Contributor

tvb commented Apr 28, 2014

For a better compression ratio, turn side it is somewhat slower then gzip.

@gocom
Copy link
Owner

gocom commented Apr 28, 2014

Yeah, it would create slightly smaller files. Like zlib, its optional extension, just not as popular.

If PHP just implemented its compressor extensions using interfaces. You could very easily use any compression option available with simple configuration flag. Unfortunately it doesn't and you have resort in nested conditionals, or write your own wrappers.

@gocom gocom added this to the 2.7.0 milestone Apr 28, 2014
@gocom gocom self-assigned this Apr 28, 2014
@gocom
Copy link
Owner

gocom commented Apr 28, 2014

I've started writing compressor implementations that also covers regular plain text files. This then allows using the compressors for actual writing, replacing the two-step process.

@tvb
Copy link
Contributor Author

tvb commented Apr 28, 2014

Great news!

@gocom gocom removed this from the 2.7.0 milestone Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants