Re: Huge initialized static data blocks & java.util.zip

1998-09-29 Thread Stephen Zander
> "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 |

Re: Huge initialized static data blocks & java.util.zip

1998-09-29 Thread Andrew Burgess
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

Re: Huge initialized static data blocks & java.util.zip

1998-09-29 Thread Bernd Wengenroth
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

Re: Huge initialized static data blocks & java.util.zip

1998-09-29 Thread Artur Biesiadowski
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 >

Huge initialized static data blocks & java.util.zip

1998-09-28 Thread Thomas Okken
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