logo       

Re: [GHC] #638: Patch to make Control.Monad.replicateM_ faster: msg#00134

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #638: Patch to make Control.Monad.replicateM_ faster

On Sat, Dec 17, 2005 at 03:58:19PM -0000, GHC wrote:
> #638: Patch to make Control.Monad.replicateM_ faster
> --------------------------------------+-------------------------------------
> Reporter: ekarttun@xxxxxxxxxxxxxx | Owner:
> Type: task | Status: new
> Priority: normal | Milestone:
> Component: libraries/base | Version: 6.4.1
> Severity: minor | Resolution:
> Keywords: | Os: Multiple
> Difficulty: Unknown | Architecture: Multiple
> --------------------------------------+-------------------------------------
> Comment (by ekarttun@xxxxxxxxxxxxxx):
>
> Patch available as
> http://cs.helsinki.fi/u/ekarttun/haskell/replicateM_.patch
>
> Trac does not seem to like me uploading attachments...

Are you sure it is really more efficient?

I remember that I was amazed that GHC compiled my
(sequence_ $ repeat $ ...) code to a really tight loop
with no allocations.

Best regards
Tomasz

--
I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise