Re: [Haskell-cafe] User group in Stockholm?

2013-04-03 Thread Janis Beckert
Hey there! I wrote one of the guys who originally wrote to Haskell-Cafe 2(?) years ago, and I was told that there is the Functional-Programming-Sthlm [1] user group. I am not sure how active they are, but there is a little mingle next week, for which you can still register [2]. One of the topics

Re: [Haskell-cafe] Profiling slow multiplication of elements read from vector

2012-12-12 Thread Richard Janis Beckert
Hey! Thanks a lot for your reply! Disclaimer: I am compiling GHC 7.6.1-rc1 while testing this, so my measurements might be unreliable. Best try it out yourself. Also, this blind-stab-optimization is /not/ best practice, I just enjoyed fiddling around. What /is/ best practice in regards to

[Haskell-cafe] Profiling slow multiplication of elements read from vector

2012-12-11 Thread Richard Janis Beckert
Hello everybody! For testing purposes, I punched down a small program which... + puts 2^n elements into an unmutable vector (fromList); + generates a random index in the vector (using random-mersenne); + reads the value at the index i and at i+{-2,-1,1,2} and makes product of these values