Re: DiffArray Performance

2003-11-04 Thread MR K P SCHUPKE
never used in multi-threaded situation. Erm, nearly all my code in Haskell is multi-threaded. One of the main reasons why I am using haskell is the low-cost light weight multi-threading. Surely this is a big win for Haskell on SMP/Numa machines - which are surely the future - as even Intel have

Re: DiffArray Performance

2003-11-04 Thread Alastair Reid
Alastair: never used in multi-threaded situation. MR K P SCHUPKE: Erm, nearly all my code in Haskell is multi-threaded. And do you use DiffArrays? MR K P SCHUPKE: I would hesitate to make any type unsafe for multi-threading by default Sorry to be unclear. I wasn't actually saying to

Re: Transmitting Haskell values

2003-11-04 Thread Sven Panne
Simon Marlow wrote: Generating a single unified index is entirely possible, given all the .haddock files for the relevant packages. I'll try to get this into the next version of Haddock. But only as an option and/or addition, I hope... 2. Remove the split between type/class index and

About unsafeThaw and unsafeFreeze efficiency ....

2003-11-04 Thread heron_carvalho
Hello, in GHC documentation, it is said : unsafeThaw :: (Ix i, IArray a e, MArray b e m) = a i e - m (b i e) Converts an immutable array into a mutable array without taking a copy. This function is unsafe because any subsequent modifications made to the mutable version of the array will be