Generate a ByteArray of number-theoretic data and compress it.
>
|
|
>
|
|
Compare the size of the original with the compressed result.
>
|
|
Generate random data from a discrete uniform statistical distribution between -10 and 10 and compress it with zip format.
>
|
|
>
|
|
>
|
|
Compute the compression ratio for this example.
>
|
|
Convert a string to a ByteArray and compress it using gzip.
>
|
|
>
|
|
>
|
|
Compute the compression ratio for this example.
>
|
|