[Numpy-discussion] [Fwd: compression in storage of Numeric/numarray objects]

skip at pobox.com skip at pobox.com
Sun Sep 11 08:26:23 CDT 2005


    Joost> is it possible to use compression while storing
    Joost> numarray/Numeric objects?

Try the gzip or bz2 modules.  Both have file-like objects that transparently
(de)compress data as it is read or written.

    Joost> Ideally the compression also works with memmory mapped arrays.

Dunno, but probably not.  You'll have to experiment.

Skip




More information about the Numpy-discussion mailing list