[GHC] #638: Patch to make Control.Monad.replicateM_ faster
Tomasz Zielonka
tomasz.zielonka at gmail.com
Sat Dec 17 11:26:33 EST 2005
On Sat, Dec 17, 2005 at 03:58:19PM -0000, GHC wrote:
> #638: Patch to make Control.Monad.replicateM_ faster
> --------------------------------------+-------------------------------------
> Reporter: ekarttun at cs.helsinki.fi | 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 at cs.helsinki.fi):
>
> 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
More information about the Glasgow-haskell-bugs
mailing list