Skip to content

add zstd compression support#152

Open
cromerc wants to merge 2 commits intovnen:masterfrom
cromerc:add_zstd_support
Open

add zstd compression support#152
cromerc wants to merge 2 commits intovnen:masterfrom
cromerc:add_zstd_support

Conversation

@cromerc
Copy link
Copy Markdown

@cromerc cromerc commented Jun 17, 2022

Added zstd compression support. To show how useful zstd is I am using it on a map I have that has 141x32 tiles. These are the file sizes of that one map with different compressions:
CSV(uncompressed): 47.2kB
Base64(uncompressed): 121.2kB
Base64(gzip): 2.2kB
Base64(zlib): 2.1kB
Base64(zstd): 1.9kB

However one of the biggest factors isn't just the size of the file. zstd is known for being faster at decompressing data than gzip and zlib. Which means that import times in godot for the maps are so much faster, especially for really large maps. This saves a lot of development time each time you have to modify a big map or importing many maps at once.

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

Successfully merging this pull request may close these issues.

1 participant