On 29.09 19:59, Tomasz Zielonka wrote: > The speed improvement (about 7x) is achieved by using a bounded integer > type Int for the counter (x) instead of unbounded Integer. This is slower in my test than the current implementation. Please note that GHC nestedloop has been updated in the CVS a few days ago, which is not reflected in the website yet. - Einar Karttunen