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

add zstd compression support #152

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

cromerc
Copy link

@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.

None yet

1 participant