Hello Simon, Tuesday, March 13, 2007, 1:00:46 PM, you wrote: >>> Looking at the implementation of DiffArrays, there are some obvious >> .... and don't forget that it uses MVar instead of IORef to be > I don't see any obvious optimisations there - some kind of thread-safety is > essential.
for general implementation - yes. but we can, for example, make this a type parameter, so that two kinds of DiffArray will exist -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe