On Feb 23, 2009, at 19:57 , Don Stewart wrote:

bos:
2009/2/23 Kenneth Hoste <kenneth.ho...@ugent.be>


Does anyone know why the Word8 version is not significantly better in terms
   of memory usage?


Yes, because there's a typo on line 413 of Data/Array/Vector/Prim/ BUArr.hs.

How's that for service? :-)

UArray or UArr?

Well, I'm using UArray, but I'm willing to consider other suitable containers...
As long as they are memory efficient. :-)

The typical usage of a UArray will be getting all it's contents,
and converting it to a list to easily manipulate (filter, ...).

So, maybe another data type allows me to store the data in a limited amount of memory
(which is my main concern now)...

K.

--

Kenneth Hoste
ELIS - Ghent University
email: kenneth.ho...@elis.ugent.be
blog: http://www.elis.ugent.be/~kehoste/blog
website: http://www.elis.ugent.be/~kehoste

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to