|
Re: [GHC] #638: Patch to make Control.Monad.replicateM_ faster: msg#00133lang.haskell.glasgow.bugs
On Sat, Dec 17, 2005 at 05:26:33PM +0100, Tomasz Zielonka wrote: > 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. Hmmm... perhaps "no allocations" is not surprising with repeat, which simply creates a self-referring list, but still AFAIR the generated code did not create lists at all. 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> |
|---|---|---|
| Previous by Date: | Re: [GHC] #638: Patch to make Control.Monad.replicateM_ faster, GHC |
|---|---|
| Next by Date: | Re: [GHC] #638: Patch to make Control.Monad.replicateM_ faster, Tomasz Zielonka |
| Previous by Thread: | Re: [GHC] #638: Patch to make Control.Monad.replicateM_ faster, Tomasz Zielonka |
| Next by Thread: | stg_PAP_info crash, Joel Reymont |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |