Mon Aug 24 11:22:52 PDT 2009  Thomas Schilling <nomin...@googlemail.com>
  * Make FastString thread-safe.
    
  This is needed both for per-session parallelism and for allowing
  multiple concurrent sessions in the same process.  With the help of
  atomicModifyIORef and unsafePerformIO it is also quite fast--an MVar
  would most likely be slower.  On a full compilation of Cabal's head
  branch it was about 1-2 percent slower, but then overall compilation
  times varied by about 4 percent, so I think it's worth it.

    M ./compiler/utils/FastString.lhs -84 +45

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090824182252-7c5c6-bd75e02998a389cc91f23d5b9c6d8ed8d5e60926.gz

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to