[Haskell-cafe] zip-archive performance/memmory usage

Pieter Laeremans pieter at laeremans.org
Mon Aug 9 19:29:26 EDT 2010


I'm trying some haskell scripting. I'm writing a script to print some
from a zip archive.  The zip-archive library does look nice but the
performance of zip-archive/lazy bytestring
doesn't seem to scale.

Executing :

   eRelativePath $ head $ zEntries archive

on an archive of around 12 MB with around 20 files yields

Stack space overflow: current size 8388608 bytes.

The script in question can be found at :


I'm using the latest version of haskell platform.  Are these libaries not
production ready,
or am I doing something terribly wrong ?

kind regards,


Pieter Laeremans <pieter at laeremans.org>

"The future is here. It's just not evenly distributed yet."  W. Gibson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100809/be4deb96/attachment.html

More information about the Haskell-Cafe mailing list