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

lovr.data.compress/decompress #420

Open
bjornbytes opened this issue Apr 22, 2021 · 3 comments
Open

lovr.data.compress/decompress #420

bjornbytes opened this issue Apr 22, 2021 · 3 comments
Labels

Comments

@bjornbytes
Copy link
Owner

Expose deflate since that is already used all over the place. Unsure if compression should be exposed though -- it's a lot more complicated and is currently not used for anything. Would be nice for doing project exports maybe, but in a way those are kinda better off uncompressed.

@bjornbytes bjornbytes added the feature yay label Apr 22, 2021
@shakesoda
Copy link
Contributor

compression is really useful, strongly support exposing it. over in my voxel project compression is the difference between <100mb and gigabytes of ram usage for the same data set.

@bjornbytes
Copy link
Owner Author

I quite like the implementations here, stb_image can probably be told to use it and the filesystem module can also use it.

@bjornbytes
Copy link
Owner Author

Darn, stb_image doesn't have a built-in way of switching out its zlib implementation (only stb_image_write does)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants