Skip to content

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

Open
@ashishgupta1350

Description

@ashishgupta1350

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions