The code for 'allocate' in rts/sm/Storage.c doesn't seem that
expensive. An extra branch compared to inline allocation and
allocation is done in the next nursery block (risking fragmentation?).
-- Johan
On Mon, Sep 30, 2013 at 9:50 PM, Johan Tibell wrote:
> Hi,
>
> When I benchmark Data.HashMap.
Hi,
When I benchmark Data.HashMap.insert from unordered-containers
(inserting the keys [0..1]) the runtime is dominated by GC:
$ cat Test.hs
module Main where
import Control.DeepSeq
import Control.Exception
import Control.Monad
import qualified Data.HashMap.Stri
On 09/25/2013 02:51 AM, Herbert Valerio Riedel wrote:
> On 2013-09-25 at 02:40:51 +0200, Geoffrey Mainland wrote:
>
> [...]
>
>>> However, I've tried integrating the new vector/primitive versions
>>> released into the GHC build (after patching up the DPH libs), but I get
>>> Core lint errors:
>>>
>
On Mon, Sep 30, 2013 at 12:36 AM, Herbert Valerio Riedel wrote:
> On 2013-09-30 at 08:26:10 +0200, Bryan O'Sullivan wrote:
>> Most of the breakage could be fixed by loosening the dependencies on the
>> template-haskell and primitive packages, and here are the rest.
>
> Btw/fyi, as one of the new k
On Sun, Sep 29, 2013 at 11:26 PM, Bryan O'Sullivan wrote:
> I spent a little time the other day building all of Hackage with GHC HEAD.
> Here's a quick writeup of what I found.
Thanks for taking the time to do this. It should really help the
quality of this release. In general I think we should t
On 2013-09-30 04:00, Patrick Palka wrote:
> + isPrelude :: ImportDecl Name -> Bool
> + isPrelude = (== "Prelude") . moduleNameString . unLoc . ideclName
>
> Can't you just do unLoc (ideclName imp) == pRELUDE_NAME here?
I think I hardcoded the name because I wanted to make sure not to run
into th
Hi,
I tried to build GHC HEAD today, but eventually got this error:
ghc-cabal: No (or multiple) ghc rts package is registered!!
make[1]: *** [libraries/ghc-prim/dist-install/package-data.mk] Error 1
make: *** [all] Error 2
I did "make clean" before starting the build — is it not sufficient
Shouldn't the last line of the patch be?:
> +foreign import ccall "performGC" performMinorGC :: IO ()
the rts doesn't export a function called "performMinorGC".
-- Christiaan
On Sep 30, 2013, at 12:24 AM, g...@git.haskell.org wrote:
> Repository : ssh://g...@git.haskell.org/base
>
> On branch
On 2013-09-30 at 08:26:10 +0200, Bryan O'Sullivan wrote:
[...]
> Most of the breakage could be fixed by loosening the dependencies on the
> template-haskell and primitive packages, and here are the rest.
Btw/fyi, as one of the new killer features of Hackage 2, incorrect
build-deps were supposed