> "Artur" == Artur Biesiadowski <[EMAIL PROTECTED]> writes:
Artur> You should load it from file - you can use
Artur> Class.getResourceAsStream or similar method. It works for
Artur> both applications and applets.
This is the coorrect approach for another reason.
Inflate != gzip |
In mail.java-linux Thomas Okken <[EMAIL PROTECTED]> writes:
>I'm working on something that requires a static array of almost 400k.
>I figured that the best way to initialize this array would be to
>compress the data, add a static array with an initializer to put the
>compressed data there (gzip c
Thomas Okken wrote:
>
> Hi all,
>
> I'm working on something that requires a static array of almost 400k.
> I figured that the best way to initialize this array would be to
> compress the data, add a static array with an initializer to put the
> compressed data there (gzip compresses it to about
On Mon, 28 Sep 1998, Thomas Okken wrote:
> private static final byte myGzippedData =
> {
> 31, -117, 8, 8, -3, -3, 14, 54, 0, 3, 97, 0, -19, 93, 11,
> -126, -37, -86, 14, -35, 42, 60, 46, -39, -1, 18, -34, 88, 31,
> // and so on and so on... 22426 bytes in all
>
Hi all,
I'm working on something that requires a static array of almost 400k.
I figured that the best way to initialize this array would be to
compress the data, add a static array with an initializer to put the
compressed data there (gzip compresses it to about 22k, which seems
reasonable), and