796
Rule (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] AdrianTheFrog@lemmy.world 2 points 18 hours ago

Is there any way an additional decompression step can be done without increasing load times and latency?

[-] Ava@lemmy.blahaj.zone 1 points 8 hours ago

There are a number of compression algorithms that prioritize decompression speed, usually at the expense of higher compression times.

[-] Buddahriffic@lemmy.world 1 points 13 hours ago

It can actually be quicker to store them compressed because memory and bus bandwidth is often a bottleneck. So instead of the cpu or gpu wasting cycles waiting for data to be moved, some of that movement time is shifted to the processors by using compression. Especially if there are idle cores that could be put on that task.

As for going from one compression format to another, you could store them in the final format (and convert on install if it differs between hardware setups, repeating if another hardware setup is detected).

Though if there's any processing done on the uncompressed data (like generating mipmaps or something), that conversion might not even cost extra because it needs to be decompressed and the new data compressed again anyways.

Though on that note, you'd get faster load times by just storing all of those preprocessed and faster install times by just sticking it all in the install download, so there is still a conflict between optimal load speeds and minimal storage space.

this post was submitted on 17 May 2025
796 points (98.7% liked)

196

17609 readers
880 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS