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

[Question] How to know the compression ratio on the file we are trying to compress? #6

Open
ashishgupta1350 opened this issue Oct 21, 2019 · 0 comments

Comments

@ashishgupta1350
Copy link

The work I am focusing on tries to calculate the compression ratio of the original text to the byte text output. Question is how to know how much compression (memory wise) is being performed as a fraction of original text.

I can see one way to do this. Save the compress("some string") output to a file and see the file size. Is there a better way to do this?

Thanks for the library though, you automated a lot of what I wanted to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant