
I've got a problem that is linear time with mutable arrays, and something god-awful complicated (not sure of time complexity) without them. What's the easiest way to use and understand mutable arrays? is it Data.Array that I want? Any good tutorials? Thanks, Dennis

My advice as a begginer myself: experiment! Do some toy array operation,
such as matrix multiplication.
Test, test ans test. Mutable arrays are kinda easy, and very fast!
I did a LU matrix decomposition with pivoting a few years ago and it was
pretty awesome.
With mutable arrays it was about 5 times faster than normal arrays.
Regards
Rafael
On Mon, Jan 30, 2012 at 16:41, Dennis Raddle
I've got a problem that is linear time with mutable arrays, and something god-awful complicated (not sure of time complexity) without them.
What's the easiest way to use and understand mutable arrays? is it Data.Array that I want? Any good tutorials?
Thanks, Dennis
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Rafael Gustavo da Cunha Pereira Pinto

Try the vector library. It has both immutable and mutable arrays and
is very good.
On Mon, Jan 30, 2012 at 1:41 PM, Dennis Raddle
I've got a problem that is linear time with mutable arrays, and something god-awful complicated (not sure of time complexity) without them.
What's the easiest way to use and understand mutable arrays? is it Data.Array that I want? Any good tutorials?
Thanks, Dennis
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (3)
-
David McBride
-
Dennis Raddle
-
Rafael Gustavo da Cunha Pereira Pinto