Skip to content

Compression ideas #123

@bendavidsteel

Description

@bendavidsteel

I have a ~3mil dataset I'm trying to create a datamap from, and final file size with inline data is very big. I know I could switch to non-inline to alleviate, but would be nice to also have smaller inline compression. I'm trying to think of ways to improve the data compression, and was wondering if you had ideas you haven't had time to implement that you could add as issues to work on in the repository.

I had a few ideas:
Rounding floats in a smart way
Ensuring RGB values are saved as integers (seems like they might be being saved as floats right now)
Allowing an option for zstd compression (zstd = smaller but more recent so less browser support) rather than gzip
Claude is suggesting brotli over gzip or zstd as a widely supported compression format

Wondering if you had thoughts on what would be some of the most fruitful avenues to go down?

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