[Haskell-cafe] How to use arrays efficiently?

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri May 16 04:37:01 EDT 2008


Hello Lauri,

Friday, May 16, 2008, 12:19:29 PM, you wrote:

>      pixelArray :: Array Int Color

it's boxed array which means that its elements are stored as thunks
computed only when you actually use them. try UArray instead:

http://haskell.org/haskellwiki/Modern_array_libraries


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list