Skip to content

Improve compression #9

@alexose

Description

@alexose

(Sorry to open up all these issues! I promise to also file PRs for them)

Due to overhead, using zlib to compress short strings usually results in an overall longer message.

I've done a bit of research into this, and I think the best solution is the UniShox2 library. I implemented this in my better-compression branch and have had solid results.

Here's a browser-based demo I put together if you want to see it in action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions