load 'arc/zlib' install_zlib_ '' NB. downloads lib (just needs to be done once) load 'arc/zlib' NB. reload after first dl.
----- Original Message ----- From: Devon McCormick <devon...@gmail.com> To: J-programming forum <programm...@jsoftware.com> Cc: Sent: Tuesday, September 23, 2014 1:33 PM Subject: Re: [Jprogramming] zlib addon thanks How do I load this? On Sat, Sep 20, 2014 at 9:25 PM, bill lam <bbill....@gmail.com> wrote: > the windows zlib1.dll binary is actually copied from j701 gtk binary which > was built by Norman Drinkwater. > > zlib_compress also supports an optional left argument between 0 and 9. 0 is > uncompressed, 1 is the fastest, and 9 slowest. > > zlib_uncompress also supports an optional left argument which is the size > of uncompressed data. > On Sep 21, 2014 5:36 AM, "John Baker" <bakerj...@gmail.com> wrote: > > > The recently released zlib addon is a big plus for j64 users. > > > > The compiled version is very effective on J text and might prove useful > for > > binary data as well. > > > > The following is a worst case scenario - compressing and uncompressing a > > million random numbers > > > > t =. 1000000?1000000 > > > > ts' t -: (3!:2) zlib_uncompress zlib_compress (3!:1) t' > > > > 0.987848 3.77554e7 > > > > > > But on my 64 bit win8.1 machine it gets through the cycle in less than a > > second. On more realistic data performance is much better. > > > > > > Kudos to Bill and anyone else that worked on this addon. > > > > > > -- > > John D. Baker > > bakerj...@gmail.com > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm