[Haskell-cafe] Re[2]: idea for avoiding temporaries

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Mar 13 06:41:59 EDT 2007


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:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list