On 2015-08-05 12:50, Gibney, David Allen,Jr wrote:
> Taking 7M to store. I wonder how well that will compress :)
> 
I decided to try something practical:

506 $
506 $ time awk 'BEGIN { for ( I = 0; I<57885161; I++ ) printf( 1 )
>         print }' | gzip | wc
      1       5   56203

real    0m18.422s
user    0m11.265s
sys     0m6.188s
507 $
507 $ uname -a
Linux Gil-CrunchBang-Lenovo 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u2 i686 
GNU/Linux

Dismaying; barely a factor of 1000.  And dumping shows obvious redundancy.
So I compressed it again (which rarely helps) and gained another factor of 200:

      0       8     255

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to