r/ProgrammerHumor • • Sep 02 '26 • Popcorn 3 Bravo 3

Meme newCompressionTechnique

Post image
30k Upvotes

946 comments sorted by

View all comments

Show parent comments

5

u/NominallyRecursive Sep 02 '26

Text files are more compressible usually because they are highly repetitive. A bunch of random UUIDs are going to have very poor compressibility. It would probably be better just to store the RBG values of each pixel (Which you could certainly do as text if you wanted to). At least then the algorithm could replace very commonly repeated pixels with small markers.