Re: [Haskell-cafe] Data.Vector.Mutable.mapM

2011-10-23 Thread Roman Leshchinskiy
Joachim Breitner wrote: > Hi, > > I’m consdering to change some performance critical code from Vector to > MVector, hopefully avoiding a lot of copying and garbage collecting. But > it seems that the Data.Vector.Mutable interface at > http://hackage.haskell.org/packages/archive/vector/0.9/doc/htm

Re: [Haskell-cafe] Data.Vector.Mutable.mapM

2011-10-21 Thread Joachim Breitner
Hi, Am Donnerstag, den 20.10.2011, 23:10 +0200 schrieb Ertugrul Soeylemez: > In general you should try to work with immutable vectors as much as > possible. Done properly you shouldn't lose much performance that way. > > However, sometimes an operation is just much easier to express and > faster

Re: [Haskell-cafe] Data.Vector.Mutable.mapM

2011-10-20 Thread Ertugrul Soeylemez
Joachim Breitner wrote: > I’m consdering to change some performance critical code from Vector to > MVector, hopefully avoiding a lot of copying and garbage collecting. But > it seems that the Data.Vector.Mutable interface at > http://hackage.haskell.org/packages/archive/vector/0.9/doc/html/Data-V

[Haskell-cafe] Data.Vector.Mutable.mapM

2011-10-20 Thread Joachim Breitner
Hi, I’m consdering to change some performance critical code from Vector to MVector, hopefully avoiding a lot of copying and garbage collecting. But it seems that the Data.Vector.Mutable interface at http://hackage.haskell.org/packages/archive/vector/0.9/doc/html/Data-Vector-Mutable.html is quite