Re: optimizing StgPtr allocate (Capability *cap, W_ n)

2014-10-14 Thread Bulat Ziganshin
Hello Mikolaj, Wednesday, October 15, 2014, 2:07:35 AM, you wrote: i'm sorry, it's the same > Hi Bulat! > Is this exactly the same email you posted to > glasgow-haskell-users@ previously (I'm asking to know > if I need to reread)? It was already forwarded here by none > other but SPJ. :) > We

Re: optimizing StgPtr allocate (Capability *cap, W_ n)

2014-10-14 Thread Mikolaj Konarski
Hi Bulat! Is this exactly the same email you posted to glasgow-haskell-users@ previously (I'm asking to know if I need to reread)? It was already forwarded here by none other but SPJ. :) Welcome, Mikolaj On Wed, Oct 15, 2014 at 12:01 AM, Bulat Ziganshin wrote: > Hello, > > i'm looking a the >

optimizing StgPtr allocate (Capability *cap, W_ n)

2014-10-14 Thread Bulat Ziganshin
Hello, i'm looking a the https://github.com/ghc/ghc/blob/23bb90460d7c963ee617d250fa0a33c6ac7bbc53/rts/sm/Storage.c#L680 if i correctly understand, it's speed-critical routine? i think that it may be improved in this way: StgPtr allocate (Capability *cap, W_ n) { bdescr *bd; StgPtr p;

FW: optimizing StgPtr allocate (Capability *cap, W_ n)

2014-10-14 Thread Simon Peyton Jones
Simon, did you see this? Simon -Original Message- From: Glasgow-haskell-users [mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf Of Bulat Ziganshin Sent: 14 October 2014 18:09 To: glasgow-haskell-us...@haskell.org Subject: optimizing StgPtr allocate (Capability *cap, W_ n