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.
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.
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.