How come, diffrent text files become diffrent sizes after compression ?

Posted by Arsheep on Stack Overflow See other posts from Stack Overflow or by Arsheep
Published on 2010-05-25T16:26:41Z Indexed on 2010/05/25 16:41 UTC
Read the original article Hit count: 263

Filed under:
|
|

I have file of some random text size = 27 gb and after compression it becomes 40 mb or so.

And a 3.5 GB sql file become 45 Mb after compression.

But a 109 mb text file become 72 mb after compression so what can be wrong with it.

Why so less compressed, it must 10 mb or so , or i am missing something .

All files as i can see is English text only and and some grammar symbols (/ , . - = + etc)

Can you tell why ?

If not can you tell how can i super compress a text file ?

I can code in PHP , np in that.

© Stack Overflow or respective owner

Related posts about php

Related posts about compression