Hello Claus, Monday, March 12, 2007, 6:03:28 PM, you wrote:
> readMatrix calls index: 16s > readMatrix calls myindex: 9s > so just calling an in-module copy of the default code for index, with > bounds-check, > is almost as fast as calling unsafeIndex, and almost twice as fast as calling > the official > index.. moreover, look at +RTS -s results. i'm pretty sure that you will find huge difference in memory allocation :) -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe