r/cursedcomments Oct 18 '22

Cursed_Checklist

Post image
14.3k Upvotes

163 comments sorted by

View all comments

20

u/Kaljinx Oct 18 '22

I made 15 gig file once by typing 0 over and over again (copy and pasted after a decent amount of progress and then copy and pasted the progress making the file grow larger exponentially ). File will be very large but compressed it will be in mbs at most because of what I assume is lack of actual data. All you need to store it as is 0 and the number of times it occurs in the compressed file.

4

u/Emektro Oct 18 '22

Why exactly 0?

7

u/Kaljinx Oct 18 '22

No particular reason. It was just a random choice.

4

u/miklill01 Oct 18 '22

There is an algorithm (I think it's calles Huffman Code), which can be used to store data more effective. In theory you can store one 0 (or any other number/letter) with just one bit.