Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Ranchu There's so much repetition that it can be compressed to a 1000th of its size by aliasing recurring sequences.
By comparison, since code files don't normally use more than ~32 different characters, any code can immediately be compressed to ⅝ of its size by assigning those to 5 bit symbols.
Code is a very redundant representation, but mostly it can be compressed to somewhere between 10% and 5% of its original size by using traditional compression methods.
I do, however, sometimes find codebases that can actually be compressed to below 1%. It's usually autogenerated SQL files though.
Related Rants
"Your code is so WET gzip can compress it below .1%"
rant
wet
insult
gzip